
please wait
by heebleworp
How do I use "new" this way? Is it even possible?
|
Say I want to deal with an array of pointers to functions that take no arguments and return no arguments. I can declare an array of such pointers like so: voi... |
Dec 13, 2013 at 4:36pm
[6 replies] Last: @Catfish it breaks at grammar level even without taking initializers i... (by Cubbi)
|
by Flynn
help me !!
|
Please help me with this problem » " Write down a program which reads lines of input from keyboard until you enter a blank line. After reading the lines ... |
Dec 13, 2013 at 4:27pm
[4 replies] Last: thanks a ton :-) (by Flynn)
|
by topher24
cin with an array
|
I have put a bunch of words from a text file into array1, then separated the letters and sorted them into alphabetical order. What i want to do now is put them ... |
Dec 13, 2013 at 4:08pm
[1 reply] : Line 17 has cin >> " "; The string " " is a constant, you can't read... (by Chervil)
|
by dmpaul26
Console RPG storyline
|
Working on a fairly simple console RPG as a test project for what I've learned so far. I've got the majority of the classes I'll need developed and the combat ... |
Dec 13, 2013 at 3:53pm
[11 replies] Last: When you go 2d... I strongly recomend sfml. Making a mini map with thi... (by Manga)
|
by Lansana
Need help on Dice Game!
|
Rather than flame me, please give me constructive criticism as Im very new to programming and still in the learning phase. My objective: make a dice game whe... |
Dec 13, 2013 at 3:14pm
[7 replies] Last: Dont forget: this is my first program. I know what an array is but don... (by Lansana)
|
by patkipramod
Facing trouble while installing g++ from cygwin
|
Hi, I know this might be off the topic/forum area but I am desperately trying to resolve a problem when I am trying to install g++ from Cygwin on wndows7. T... |
Dec 13, 2013 at 2:46pm
[4 replies] Last: Thanks all. I finally got it working :-) Hope I'll post actual C++ que... (by patkipramod)
|
by cloxygen
Adding Forever?
|
I am taking a c++ tutorial on learncpp.com and was asked to write a program that reads two numbers from the user and adds them together using one function to ge... |
Dec 13, 2013 at 1:25pm
[6 replies] Last: I think your program is True (by CongDao)
|
by Accuracy
Getting question in loop according to user input
|
Write your question here. #include <iostream> #include <string> using namespace std; void choice(int area, string name) { switch (area) ... |
Dec 13, 2013 at 12:47pm
[2 replies] Last: Thank you for your help. I have found a work around without using the ... (by Accuracy)
|
by ardengo
set_terminate()
|
hi there, just testing set_teminate() but i dont see what's wrong here.. i would expect the message to be displayed but the program just crashes without showin... |
Dec 13, 2013 at 11:36am
[5 replies] Last: thank you (by ardengo)
|
by zus75
smoothing function
|
hi, I have to write a function that gets values from a main programm and I have to return a smoothed value. this is what I thought it should be, but somehow the... |
Dec 13, 2013 at 10:04am
[1 reply] : I'm confused sorry mate. None of this looks like mathematics to smooth... (by mutexe)
|
by liverbird96
Creating/Deleting pointers to class in if statement
|
This may sound dumb but I have a project where I need to create and delete pointers in if/else statements. Is it possible? It's basically regarding manager's... |
Dec 13, 2013 at 8:11am
[1 reply] : Not 100% sure what you're asking, but it seems like you want to clone ... (by sargon94)
|
cout and flushing the buffer |
I'm doing an exercise with 'cout' and flushing the buffer. Upon reading in the forums, I came across this post: Most streams by default are line buffered wh... |
Dec 13, 2013 at 8:07am
[1 reply] : Generally cout and cin are tied together, so that using cin caus... (by cire)
|
by Lansana
How do I use system("CLS") without using system("CLS")?
|
Beneath is my (almost) completed first C++ project (self-made). As you see in my main_page function, I try to have a sort of main screen introducing the game, t... |
Dec 13, 2013 at 7:47am
[3 replies] Last: @DTS: That shows him how to clear the screen, but not how to keep his ... (by sargon94)
|
by programmerx
Virtual Key Codes( 3 Days to go for project Submission)
|
Hi all, i am making a keylogger application. I have successfully stored almost every key to Log file using Virtual Key Codes mentioned at http://msdn.mic... |
Dec 13, 2013 at 7:32am
[3 replies] Last: Thanks yulingo and MattewRock for your replies and help. i am done wi... (by programmerx)
|
by Hydropulse17
Working with graphics
|
So I've been learning c++ for some time now, and I'm really waiting for the use of graphics. Back when I used Game Maker, I would create my own sprites in Photo... |
Dec 13, 2013 at 4:39am
[1 reply] : Get a lib like SFML. sf::Texture texture; texture.loadFromFile("you... (by Disch)
|
by zishanhyder
Binary Tree Help
|
I am writing program to insert elements of list to Binary Tree. These are the code from three files of project. I am using IDE code::blocks. TreeNode.h File ... |
Dec 13, 2013 at 4:25am
[6 replies] Last: Thanks (by zishanhyder)
|
by amitk3553
shifting in arrays elements
|
i have data_word = {0x63}; I want data_word_lsb = 3; // got incorrect value "0x30" instead of "3" data_word_msb = 6; // got right value "6" in fol... |
Dec 13, 2013 at 3:59am
[2 replies] Last: thanks coder777 (by amitk3553)
|
by zhen07
Help with a program about reordering inventory
|
I need help trying to figure out how to read in a master inventory fi le that contains product ID number, short name with a maximum length of 20 characters, ... |
Dec 13, 2013 at 3:49am
[2 replies] Last: I'll give you a high level walkthrough: First you would create a prod... (by i like red pandas)
|
by ejcpp
I NEED HELP QUICK. DUE BY MIDNIGHT TONIGHT!!
|
I NEED HELP QUICK. I need help with this assignment, it's due by midnight. This is what i have to do: In addition to the existing main() function you will have ... |
Dec 13, 2013 at 2:34am
[4 replies] Last: thank you so much (by ejcpp)
|
by heebleworp
question about "protected" member functions and derived class access
|
I don't agree with the compiler that what I'm doing is an error: in dma.h class abstractDMA { private: char* label; int rating; protected: cons... |
Dec 13, 2013 at 1:45am
[6 replies] Last: I think it's too permissive actually, I'd only allow access from the s... (by Cubbi)
|