General C++ Programming - August 2012 (Page 25)

Need some Help!
 
Use if condition after cin>>r if(r == 'r') { // Do red } else if(r == 'g') { // do gre...
[4 replies] Last: he obviously decided his code was top-secret and deleted it as soon as... (by Zephilinox)
Keep getting Errors! (1,2)
 
Here is what I have to do: Write a C++ program to "draw" ellipses by printing characters, to the ...
[27 replies] Last: holy smokes it worked perfectly... man..you are awsome..the program an... (by trex123)
by vijkrr
parsing funtional args
 
Hi all, In one of my assement I need to parse a function. E.g: struct { char a; s...
[1 reply] : That's easy! Exctept that args is the function call parameter eg. #i... (by viliml)
link hopping algorithm, help please!
 
Give an algorithm for determining, just by link hopping, whether a doubly linked list with header an...
[no replies]
Compiler Error
 
I get 54 errors when i try to compile my program, I'll post the code and the errors. main: #incl...
[7 replies] Last: Look into the settings of each project. Especially 'Character Set' and... (by coder777)
Error: main returns 3.
 
So I started making a program to convert normal words into words that can be typed into a calculator...
[9 replies] Last: I finally finished and debugged the program(or applet, I guess) He... (by Bufflez)
by beakie
Z Order with lines (triangles)
 
Anyone know of any good reading. I have some code which creates 3D lines and projects them on to ...
[no replies]
by Gldnbr
Problem with set_union
 
I'm trying to union two sets (in a vector). setA contains a, b. setB contains a, c. After uni...
[2 replies] Last: Yep, an alternetive is to use an inserter iterator. (by ne555)
Are the cstdlib's rand/srand functions redundant?
 
Hey, I was messing around with variables for a bit and I found a really easy way to generate a ...
[5 replies] Last: Sorry, I guess its just my compiler/text editor. I'm using code::blo... (by Bufflez)
by sqandr
Syntax meaning: [&](std::size_t, std::size_t t)
 
What does the following syntax mean? [&](std::size_t, std::size_t t)
[2 replies] Last: It is part of the C++ construction named lambda expression. You can fi... (by vlad from moscow)
Question: How does this work...Vector<type>::iterator
 
I have looked to look all over the web and i can not find an answer, could you explain to me how it ...
[2 replies] Last: Oh i get it now, you are accessing it through :: and that lets you cre... (by Hart1ey)
by yoreei
What are additional { } used for? (1,2)
 
Hi! I am quite new to C and C++. Today I saw the following thing: #include "new.h" Fl_Window *w...
[20 replies] Last: @ kitesurfer1962 : It isn't a trick since it's well-defined. The destr... (by closed account zb0S216C)
Trying to do Explicit specialization of member function template
 
Hello everybody. Im fairly new to C++ and Ive been trying to teach it to myself as fast as possible,...
[6 replies] Last: Thanks everybody for your help! I could finally compile this simple co... (by oldcrow)
Unable to understand the pre-increment operation
 
When I executed the following code in the visual c++ or turbo c compiler, its giving the output valu...
[4 replies] Last: +1 @ Zephilinox & Peter87 You should never ever write code like thi... (by Disch)
FUNCTION VARIABLES
 
Hi I have to Write a function which accepts an array of doubles and its length as parameters and ret...
[2 replies] Last: Also, make the function const correct. //double sumValues (double nu... (by JLBorges)
0x08 vs 8
 
What is the deference in 0x08 and 8?
[10 replies] Last: @coder777 Didn't take octal into consideration at all. I believe you'r... (by Hadar)
VC++
 
I have read C++. Now I want go to into Visual C++ but on trying to get IDE from Microsoft it failed ...
[3 replies] Last: Visual C++ is a good IDE with a very good compiler. The Express editi... (by Gaminic)
What is a driver program?
 
In my c++ class I hve to make a driver program for my last project? BankingSystem* myBankingSystem= ...
[7 replies] Last: This is a problem that came from another thread, which we temporarily ... (by TheIdeasMan)
meanings of some easy functions
 
hello, I experimented a little bit, and realised that long signed unsigned What are they ther...
[5 replies] Last: Thx to you all for helping me out!! (by xantavis)
by rossig
Multiple definition - again
 
Hello, I have seen a post about this issue, but it didn't apply to my problem, so the solution neith...
[2 replies] Last: thanks a lot helios, after some reading and your post, I could underst... (by rossig)
August 2012 Pages: 1... 2324252627... 31
  Archived months: [jul2012] [sep2012]

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