General C++ Programming - April 2014 (Page 15)

Need help with my base class
 
Hello all, I have an odd compiling error. My base class is all delcared and read to go. But I c...
[10 replies] Last: Ok fair enough. ns std is not such a bad thing, but having everything... (by TheIdeasMan)
Segmentation Error when saving file
 
I have been working a while with saving and retrieve structs, and I still have not got it to work. I...
[1 reply] : char *filep; // undeterminate value strcpy(f... (by nvrmnd)
CMUgraphics Sprite
 
I have this simple graphic package my teacher gave me (cmugraphics).I need to make a game(pokemon).I...
[9 replies] Last: Thank you so much for the tip on Paint.net and Sfml. (by happygill)
please help!!!!
 
OK SIMPLE CODE WITH AN ARRAY THAT I NEED TO DECLARE THE SIZE TO 16 AND OUT PUT A-P FORWARD AND BACKW...
[6 replies] Last: I know what you are trying to do, it is just you seem hung up on pedan... (by TheIdeasMan)
Unpacking parameter pack with templated predicate
 
I'm trying to generalize the following (working) code: #include <iostream> #include <string> #...
[2 replies] Last: #include <iostream> #include <string> #include <cmath> int foo (int ... (by JLBorges)
Struct explanation
 
Hey, can someone explain this to me as I dont get the logic of it. Is this a struct within a stru...
[10 replies] Last: I coach people in C++ (particulary beginners), so if you'd like, email... (by Little Captain)
swap elements of vector
 
hello, i need to learn how to swap the first and 'mid' elements of a vector? can anybody help?
[2 replies] Last: im trying to figure out how to use this 'swap' function. it sounds lik... (by chiefsosa1)
Does not name a type
 
I have a class named backgroundObstacleManager that I created and another class Pit that have to int...
[2 replies] Last: I found a solution on stackOverflow. For anyone who might have this p... (by supperpiccle)
Code error
 
Hey, I need a little help. I had the program working until I used the switch statement and tried to ...
[1 reply] : choice is defined as an int , so in the switch statements it should b... (by wildblue)
Getting a value from object passing it to an array
 
I am writing a program for a poker game.. I created a class to get cards and create deck.. the probl...
[4 replies] Last: Line 21: What is the purpose of this if statement? 0 is a valid value... (by AbstractionAnon)
by teslaa
winsock2 bind error
 
I have created a class which uses threads and sockets but I am having trouble as the bind function w...
[no replies]
by Yagada
Whats wrong with my code?
 
I cannot seem to figure the error in my code. Basically, its suppose to take 2 arrays and sort them ...
[no replies]
by admkrk
Qt, reading file stream problem
 
I'm having a problem filling a vector from a file. Basically, it is adding an empty element at the e...
[3 replies] Last: Hmmm, I couldn't find another way around it except to use readLine() w... (by admkrk)
by Subo93
Is there something wrong in these if statements..?
 
This program outputs only.. Enter number of new members:3 Enter the card type:Bronze Enter the ...
[2 replies] Last: Thanks.. (by Subo93)
by Kubani
Polygon
 
Stroustrup has said " Polygon is a Closed_polyline where no two line segments intersect " in PPP. ...
[13 replies] Last: If you think the problem was a wrong tone of correspondence! so mail h... (by Kubani)
x86 BIOS chip reading?
 
After doing some research, I've found out that the BIOS chip is loaded at FFFF:FFF0 minus the BIOS R...
[no replies]
Function to read HEX and Print ASCII
 
is there a function or something that take HEX and print it's corresponding ASCII Character .. Her...
[1 reply] : #include <iostream> #include <iomanip> int main() { int inp; ... (by MiiNiPaa)
Is this dangerous or bad code?
 
Hi All, I'm trying to do something that someone told me might not be a good idea. I'm hoping I c...
[4 replies] Last: Wow. Some great explanations there. Thank you for pointing me there... (by Detnator)
Having trouble with html conversions....
 
Hi, so i've been given an assignment which asks me to simulate traffic on a road, the best output wo...
[no replies]
April 2014 Pages: 1... 1314151617... 41
  Archived months: [mar2014] [may2014]

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