General C++ Programming - December 2011 (Page 30)

little problem
 
can someone take a look at this code and figure out whats missing and what it takes to fix it?? my f...
[3 replies] Last: and want to implement something that does this if (cin != input){ ... (by Echo773)
Delimited CSV file headache
 
So i was trying to make a program to let me read from 2 separate files, one being .csv and one being...
[2 replies] Last: OK Ill try this out tonight. I appreciate the help, and also that link... (by Benjamin Jeffrey)
Class
 
#include <iostream> #include <stdio.h> using namespace std; class Student { char ...
[3 replies] Last: tnx :)) (by bmafaul)
DLL's and EXE
 
I want to know if it's possible to merge a EXE file with DLL. Or just compile the DLL source in the ...
[3 replies] Last: I just grabbed a copy of the SDL download (both 1.2.14-VC6 and 1.2.14-... (by mmay)
Need Help!! can someone give me a start on program
 
Prof. H is running a large class with exactly 70 students. He has prepared a text file (grades.txt, ...
[1 reply] : [quote=harrisdd]can someone give me a start on program OK here: #ex... (by LB)
by beau
Issue with the rand() function
 
I'm having an issue generating random numbers using the standard rand() function, which is unfortuna...
[2 replies] Last: Well then, that was simple enough. Thanks, can't believe I didn't try ... (by beau)
C++ Question Confused
 
the program works great, but why does my A not working as I enter "a" im confused about it. #in...
[1 reply] : Please wrap your code [co de]between code tags to make it easier to ... (by LB)
Trouble with arrays
 
I am supposed to use arrays to create a program that removes the lowest number and highest number. T...
[6 replies] Last: @bwilson1: nope, no need for static_cast. The purpose of line 28 is... (by mmay)
Suggestion regarding an error
 
I have a user defined class which has a private variable x. x is a vector of a user defined struct. ...
[4 replies] Last: Yes Peter u were right that this code is not compilable. The actual co... (by anunay144)
Need help making Merge Sort run faster.
 
Hi, I have written a merge sort algorithm that used vectors how ever it runs rather slowly. I believ...
[15 replies] Last: Thanks all for your suggestions I was able to get the runetime from ab... (by mfswimmer)
exceptions problem just dont understand
 
The real problem is i just don't understand exceptions at all. Here is what I got it is a stack pro...
[8 replies] Last: All working good now Source code is avalible upon request (by LiverEatnJohnson)
by accboy
Need help with Ski Race problem
 
I don't get how to start. I just need a starting point and then i can get the rest maybe a hint on w...
[no replies]
implementation of >> operator in class
 
I'm solving an exercise in which I have to implement a string queue using classes. I have the classe...
[2 replies] Last: Great, works perfectly, thanks a lot! (by CryptKeeper)
wanna correct this,, simple
 
#include <cstdlib> #include <iostream> #include <string> #include "windows.h" using namespace std; ...
[5 replies] Last: Just convert the user input to all upper/lower case and then check it ... (by ModShop)
Get CURL result as a string
 
Hello I am getting the content of a web page with curlib, into a variable called res of CURLcode ty...
[1 reply] : I think you can just call curl_easy_strerror() so something like this:... (by Texan40)
static_cast and typeid
 
Is there a way to pass a typeid return directly to a cast (with some clunky if else if block)? Some...
[10 replies] Last: Thank you everyone for the help! (by whitmcrae)
by Zapeth
wrote to memory after end of heap buffer error
 
Hi, I realize that such a problem has already been discussed many times out there as I have found ma...
[11 replies] Last: Why don't you just use a std::stringstream ? Then you don't have to wo... (by modoran)
Error overloading operator
 
I am getting this error "<< operator function should take two parameters" I wanted to overload << op...
[3 replies] Last: Use <iostream> and not <iostream.h> Don't use <conio.h> Use <string>... (by LB)
Help please
 
#include <iostream> using namespace std; char moveto; void z() { cout<<"You are no...
[3 replies] Last: Do not ever call main()! Use a looping structure like do-while.... (by LB)
Reading from a file...
 
in the else if, compiler gives an error saying "undeclared identifier" HELP plz...! void studentrec...
[6 replies] Last: What does "does not open" mean? Are you sure the else part is executed... (by hamsterman)
December 2011 Pages: 1... 2829303132... 39
  Archived months: [nov2011] [jan2012]

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