General C++ Programming - February 2008 (Page 2)

Unable to convert 'int' to const 'string'
 
I'm working on a program right now, where I'm trying to create a dynamic vector array, then assign i...
[4 replies] Last: > Just wondering about vectors, they are all one after each other like... (by Duthomhas)
by gzero
Run-Time Check Failure
 
I wrote the code below, and I keep getting the error 'Run-Time Check Failure #2 -Stack around the va...
[8 replies] Last: Well, I went all the way up to 1000000, and I still got the error. (It... (by gzero)
Homework Help please...
 
Hi All, I have no programing knowledge so I need help solving the following problem: The break...
[5 replies] Last: Yes, it saddens me that teaching system("pause") is so entrenched. For... (by Duthomhas)
runtime error with dynamically allocated memory to hold C++ string
 
I have made a program that dynamically allocates memory to hold several c++ string. There were no pr...
[1 reply] : The problem is that you are not constructing string objects --only cre... (by Duthomhas)
check characters is integer or not
 
Hello, i need to know the function that works on character to check if it is integer or not...
[1 reply] : http://www.cplusplus.com/reference/clibrary/cctype/ (by Mythicwolf)
Internet thru cpp
 
Is der ny way 2 open a web page thru c...??? ive tried system("iexpolre http://www.onlinehindirad...
[1 reply] : if ur using windows system("rundll32 url.dll,FileProtocolHandler h... (by Mythicwolf)
how to read jpg or bmp graphics file format in C++?
 
Hi, Im having this project in our CS that needs to read either jpg or bmp graphics file format so th...
[4 replies] Last: Thank you Sir Marmotton :) I will try it :) (by jdstufu)
what is the linux command counter part of system("pause")?
 
I wanted my program to pause the screen. I need it to work in linux and windows. I wished to use the...
[7 replies] Last: Thank you guys :) Both of your pause functions work! Thank you o... (by jdstufu)
by pacman
where to go from here
 
I have just finished Ivor Hortons beginning c++. im looking for more books on c++ that might help me...
[2 replies] Last: ok i will take a look at it thanks :) (by pacman)
I don't know how to pause the screen
 
I have tried to use a batch file to pause between an if and else clause and as soon as I hit the ent...
[10 replies] Last: The problem is three-fold: 1) As already mentioned, "pause" is a fa... (by Duthomhas)
by scope
cin.get();
 
What does this do at the end of a program?
[3 replies] Last: When using cin, you type in characters (keys on your keyboard) that ap... (by Ganon11)
Creating Multiple Instances of a Variable
 
I am currently writing a program in which I need to create a variable, then dynamically create a num...
[5 replies] Last: I just tried this out, and when I compile, it throws three errors abou... (by GenTiradentes)
by naja
help needed with crypto++
 
Hi, config: crypto++ 5.5.2 - ubuntu feisty - eclipse cdt latest - GCC4 Im trying to use crypto...
[2 replies] Last: Ok, Wei Dai solved the problem on crypto++ user list. No need to lo... (by naja)
by pl848
Urgent Help Needed (C++)
 
Ok...so I'm working on the famous eightqueens problem. I've coded up the algorithm with goto stat...
[4 replies] Last: post the code with the goto statements, its easier to translate code u... (by Mythicwolf)
Encryption code, what is it like?
 
I am to practice for a code that can encrypt words. Like... I am given this meanlingless word and ...
[1 reply] : It really depends on the encryption method. By the way, taking nonsen... (by Ganon11)
mouse position
 
Hello, Does anybody know how to get the global values of mouse x and y position from Windows?
[2 replies] Last: The exact term you need to google is "msdn getcursorpos" and click "I'... (by Duthomhas)
by amrcn
Operator overloading
 
Holy crap I am not a fan of C++ at all. Stupid professors with stupid operator overloading requir...
[4 replies] Last: haha, my bad. I don't wanna put the whole code in here though. I don't... (by amrcn)
Private class object initialization
 
Hi, I have the following header: #ifndef hdr_h #define hdr_h class MyClass{ publ...
[no replies]
by scope
!(1 && !(0 || 1))Help
 
This !(1 && !(0 || 1)) is said to be true, if so, why? Can someone explain how this is interprete...
[3 replies] Last: You're exactly correct. (by amrcn)
by amrcn
list source code
 
Does anyone know where I can find the 'list' source code. By this, I mean 'push' and 'pop' and a...
[1 reply] : You are talking about the STL std::list template class, right? You ... (by Duthomhas)
February 2008 Pages: 12345
  Archived months: [jan2008] [mar2008]

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