General C++ Programming - September 2010 (Page 6)

A little bit of problem here.
 
i have the program: #include <windows.h> /* Declare Windows procedure */ LRESULT CALLBACK ...
[5 replies] Last: yes sure. (by jumper007)
get a word from specified location in a string
 
Hello everyone this my first topic in this forum so i hope u like it :). during my last programmin...
[3 replies] Last: Yeah, you definitely should not use strtok() on the return value of st... (by jsmith)
by geek4u
Basic Exception Handlingproblem
 
I have a piece of code #include<iostream> using namespace std; class base { public: base...
[3 replies] Last: Always catch exceptions by reference: try { /*...*/ } cat... (by moorecm)
Checking of integer no enter by user
 
How can we check that whether user has entered an integer number or not?
[5 replies] Last: of course not http://www.cplusplus.com/articles/how_to_ask/ (by Bazzy)
inline and __fastcall directive
 
Anybody helps me please ! What difference between inline function and _fastcall function. I only kno...
[3 replies] Last: That's correct. The inline keyword has little or no impact on the comp... (by Athar)
Use of static key world in c++
 
i am writing this a program in which i want to calculate the total bill of different products buy ...
[4 replies] Last: thnx i solve it (by kashifboy)
Problem with std::string in header file
 
i have problem with string when use header file. My code in header file in following #include <...
[2 replies] Last: Sorry ! I know where cause error ! Without #include<string> in header ... (by micheal9000)
`I did my best but I guess my best wasn't good enough :((
 
#include <iostream> using namespace std; struct node { int DATA; node *PL; ...
[7 replies] Last: `wow thanks dude, it works fine now.. :)) (by codemunkee)
Question on References (1,2)
 
This question of mine is very basic and may even sound stupid. But hope i would get an answer :) ...
[30 replies] Last: Lol! When I actually made the post, I thought this should be one of th... (by karthick88)
by hannes
c++ scientifc notation
 
Hi, When i multiply 1000 by 1000, i get 1e+006. This is just scientific notation for 1.000.000 . ...
[9 replies] Last: You can pass a variable to std::setprecision(), obviously. (by helios)
by chee
Linked lists and inserting nodes
 
the program runs without errors, but when i try to use the changenode function, if i put anything ab...
[3 replies] Last: Additionally it is very unlikely that a linked list implementation tha... (by kempofighter)
by sti
std::tr1::bind + for_each
 
Hello, i want to make a nested bind, but have compiler errors: #include <algorithm> #include ...
[7 replies] Last: Also, resize(), and any other method that can remove elements from the... (by jsmith)
What is wrong in my C++ program ??
 
This is what i try to do, but i dont know why it gives me the message:"break statement not within lo...
[4 replies] Last: nah, i made it work, it was just a error at for (i=1,500; which shou... (by jumper007)
by geko
positive integer N program assistance
 
ok so i have to come up with something that will be prompt the user to input a positive integer N. t...
[6 replies] Last: If you read what your assignment is it has the clues you need to make ... (by Jauffre)
list control report view problem
 
I dont know if anyone wants to help me out but I will give it a try. My code is like void CTabDl...
[1 reply] : where are you storing the items of the list you are inserting . pleas... (by bluecoder)
Asteroids
 
I've been experimenting with the SFML library the past week, and decided to make an asteroids game. ...
[11 replies] Last: I don't know why you say can't make lists static apparently I don't k... (by Thumper)
Divide a number by 3 without using any of operators (%,/,*)
 
I have got a C function to do the above by googling it . But can you please explain the working of ...
[2 replies] Last: btw, it wouldn't work with negatives of course, so choosing an int ins... (by vukki)
overloading operator =
 
Trying to add functionality to string without changing string (or other class/type) This works st...
[5 replies] Last: I was just doing for learning I got the answer + is implemented ... (by johnbach)
Problem in declaring static variable in the class
 
Hi all, I want to declare static vector of user defined datatype to keep the values during the li...
[15 replies] Last: oh. Hahahah Didn't notice (by Disch)
Dynamic variable names by concatenating integer.
 
Hi Dear i want to concatenate integer (1......n) with char like A or B to generate variable name...
[16 replies] Last: IMHO, Galik's answer is the closest to what you are trying to accompli... (by kfmfe04)
September 2010 Pages: 1... 45678... 20
  Archived months: [aug2010] [oct2010]

This is an archived page. To post a new message, go to the current page.