
please wait
by tcd
Writing to an output file
|
I am trying to write data to an output file from a C++ program, but i want this output file to appear on the console also. I think i have the code to make it wr... |
Jan 3, 2012 at 9:47pm
[5 replies] Last: Here's part of one I made that will use one command to simultaneously ... (by Stewbond)
|
by pazza
calling delete on pointer after sprintf causes crash
|
Hi, I don't understand why this causes a crash, can anyone explain? #include <stdio.h> void func() { while(1) { char *string = new char; ... |
Jan 3, 2012 at 6:42pm
[3 replies] Last: That makes sense thanks for the quick replies! (by pazza)
|
by marray
happy new year
|
Happy new year, I am a junior programmer, please a lot of attention |
Jan 3, 2012 at 6:25pm
[2 replies] Last: happy new year :) (by Michael Thornton)
|
by crazycreator
Error with platform?
|
So i am trying to do the "Learn C++ in 21 Days" i downloaded this borland compiler http://edn.embarcadero.com/article/20633 and i am just trying to the the ... |
Jan 3, 2012 at 5:48pm
[7 replies] Last: trying Microsoft VS 2010 and getting errors with that program I wou... (by anonymous23323124)
|
by JAI SINGH
pointer (1,2,3,4)
|
is there any diff b/t pointer variable and refrence variable if yes then i want to know the program by which we can diffrentiate it is it related to har... |
Jan 3, 2012 at 5:23pm
[67 replies] Last: It won't compile without that const (except on Visual Studio, arghh, t... (by Moschops)
|
by Scorpius
Binary Search
|
Hello everyone! I have to solve a problem using binary search, but i am not sure i wrote the code corectly. Here it is: It is given a sorted array, having... |
Jan 3, 2012 at 5:13pm
[4 replies] Last: I am sorry for making it difficult to read. As i said before, i need ... (by Scorpius)
|
SFML vs Polycode |
Hello everybody, which one of these two is the best for 2d & 3d game developement i know that SFML doesnt Support 3d graphic but i can use assimp lib for thi... |
Jan 3, 2012 at 3:54pm
[5 replies] Last: Agreed... also, having to use multiple libraries for 3D graphics may s... (by strongdrink)
|
by JMan
Reference and Pointers--My opinion
|
I just saw a topic about Reference and Pointers and whether they are same thing or not. I think it’s time for some brief introduction for everyone. A point... |
Jan 3, 2012 at 3:41pm
[8 replies] Last: what is taking up space? what is the it? (by JMan)
|
by lijrobert
Problems with functions
|
I'm trying to get the code below to call out what you say but its not any help for me? Sorry if I do any thing wrong I am new to this form #include <iostream> ... |
Jan 3, 2012 at 3:25pm
[5 replies] Last: Gaminic I used it because it calls errors if I don't I use mac so it m... (by lijrobert)
|
by Lynx876
Conversion error?
|
Ok, so I thought I was done with my program, but it seems I have another error, which, for the life of me, I cannot find out why! I have this following code:... |
Jan 3, 2012 at 3:02pm
[3 replies] Last: I no longer need help with this. Don't know why I never thought of thi... (by Lynx876)
|
by vastrolorde
settign up SFLM in Code::Blocks
|
I showed the Code::Block the location of lib and include. I added them manually. I but the .dll files in the project folder. I but the files needed in linker in... |
Jan 3, 2012 at 2:44pm
[1 reply] : step by step what i did: 1) downloaded Code::Blocks 2) Unisntalled C... (by vastrolorde)
|
by Brayan
I have an error and I dont know why...
|
Please help :) #include <iostream> using namespace std; struct Piramida { double bok; double wysokosc; }; double obliczObjetosc (struct Piramida p) { r... |
Jan 3, 2012 at 2:11pm
[3 replies] Last: just one note--the debugger or the error list provided is always a VER... (by JMan)
|
by tejas1995
Arrays in Functions
|
Hey Guys, I had a problem where I needed to use a function with an array as one of the parameters. All I had done was the main() function and a function protot... |
Jan 3, 2012 at 1:58pm
[11 replies] Last: Really? Oh ok thanks then. I just wanted to check if the code was erro... (by tejas1995)
|
by yap cheng yi
Please tell me how to make a choice
|
i ask few people for what kind of programming language is for a beginner and now i know programmimg can be list in 3 that is web development Application Pro... |
Jan 3, 2012 at 11:16am
[5 replies] Last: I guess that does make sense as well. Personally I find that most begi... (by Dacster13)
|
by subjugater
how to use a pointer to function?
|
I'm trying to understand my colleagues' codes in which a function fn is defined in the following way: fn() { ... return creator(instanceId, attributes, Saf... |
Jan 3, 2012 at 5:01am
[2 replies] Last: Cubbi, thank you! (by subjugater)
|
by derivedfromX
Best way to shut down console
|
Hi, I am a beginner at C++ (only can write basic console programs ATM), and I was wondering what the best way to shut the console down from the program is? Wha... |
Jan 3, 2012 at 4:17am
[1 reply] : main should return an int. Always. void main() is nonstandard and ... (by Disch)
|
by hentaiw
istream::read problem
|
// Use random-access I/O to read specific inventory records // from a data file. This program reads the file InvDat.dat, // which is created by the example p... |
Jan 3, 2012 at 4:03am
[1 reply] : It knows that entry is an inventory because of the line 22, where ... (by Cubbi)
|
by Beg2012
call function from function
|
lets say i have a function i want to call anthor function(function2) from the original function (function1) for example : void function1() { // ther... |
Jan 3, 2012 at 1:15am
[4 replies] Last: My guess is you have this situation: function2(); // <-- Function 2 ... (by Mats)
|
by Beg2012
convert array to for-loop..
|
heey guys ... can someone tell me how to fill the array with "*" by using for-loops instead of this way?? char star = {{'*','*','*','*','*'},{'*','*','*'... |
Jan 2, 2012 at 10:10pm
[1 reply] : How about you replace cout<<start [coulmn/*?*/]<<" "; with start [c... (by hamsterman)
|
by JAI SINGH
problem with (+=) operator in operator overloading
|
extern "C" { int printf(const char*,...); int scanf(const char*,...); int kbhit(void); void clrscr(void); int main(void); } struct console { static ... |
Jan 2, 2012 at 8:58pm
[3 replies] Last: what is the problem with printf() and scanf() is both these functions ... (by JAI SINGH)
|