Beginners - June 2010 (Page 21)

Is a pointer remembered after closure?
 
Is a pointer remembered after you close the program? so that, when I open it next time, it stills kn...
[5 replies] Last: Ok thanks Galik! (by xander333)
by hkproj
const char* not accepted by function argument
 
Hi, I am trying to use TinyXml to read and write xml. I declared a string: const char *TASK_FILE ...
[4 replies] Last: thank you. it solved my problems. (by hkproj)
printing 6 decimal digits
 
I have a float f. How do I ask the program to print 6 decimal digits?
[1 reply] : http://www.cplusplus.com/reference/iostream/manipulators/setprecision/ (by bluezor)
Problem displaying numbers and odd numbers in a while loop
 
Hi, I have been doing this exercise from a book - stated below a.Prompt the user to input two int...
[no replies]
Dev C++ Permission denied to compile?
 
Whenever I try to compile in Dev C++, I get two errors at the bottom with no line. One says "Permi...
[1 reply] : hi, you must save it another file because i face it also it many time... (by sehrish)
by wtf
Initializations of user-defined types
 
I´m trying to declare an array of 100 sudokus, but how can I do so without calling my default const...
[1 reply] : Use a vector and its default value constructor. http://www.cplusplu... (by PanGalactic)
[C/C++] Hamiltonian Circuits implementation problem
 
I am a very beginner to C/C++ and programming at all. One of the first tasks I had been given recent...
[1 reply] : Maybe you should try something more suitable for beginners jumping rig... (by C to the UNIT)
IDE vs Compilier
 
Ok this not a programming question but an issue of IDE vs compilier issue. First of all (I know what...
[8 replies] Last: Oh. So it's just an bad joke. Still, it could be construed as offensiv... (by chrisname)
Problem Passing a character array to a function
 
I am trying to get my basics rite. I tried to pass a reference to a char pointer to a function and m...
[6 replies] Last: Nothing. But did you mean to say this? const char* str1 = "co... (by Galik)
Syntax for printing commas in numerics
 
I've got a program I need a mortgage table printed as an output and I'm struggling with the syntax f...
[4 replies] Last: The code works just fine with VS2010. (by PanGalactic)
Merge Sort
 
Hello dear Community I'm learning C++, so I thought to implement MergeSort. I've written this co...
[no replies]
Trouble in Variable Passage
 
Hello fellow c++ programmers! This is my fisrt post here and sorry but i need to suck up some inform...
[1 reply] : anyone? i'm still trying that, exaustive hours without any solutio... (by Centurion210)
by timing
rand() strange behavior when in another function
 
I am using modulus 6 plus 1 on rand() to generate numbers from 1 to 6 through a function call. But t...
[4 replies] Last: The angle brackets <string> tell the compiler pre-processor to look in... (by Galik)
What is wrong with my program?
 
Hi there, I am very new to C++, so this is probably a really stupid beginners mistake, but yet I can...
[5 replies] Last: It would not be unprofessional, however you in general should not use ... (by jsmith)
I don't get it!!
 
Everything seems perfectly normal to me, but it doesn't work... I'm making a prog that stores the n...
[5 replies] Last: It fixed it ! Thanks a lot Athar (by xander333)
point
 
Hi . what is my error in program #include <iostream> using namespace std; int main() { ...
[1 reply] : This is a duplicate of: http://www.cplusplus.com/forum/beginner/24716/ (by Galik)
system is not declared in this scope
 
So I'm making a program starter, but when I try to run a file it says (at compiling): system was not...
[1 reply] : Alright i got it to work with cstdlib but i only reads the file until ... (by xander333)
Problems with loop
 
I'm trying to get this to output: Month Principal($) Interest($) Tax($) Payment($) New Prin...
[2 replies] Last: I guess that what you mean is that the number under "New Principal($)"... (by magnificence7)
I can't find the bug...
 
So I started experimenting with arrays and I tried to make a program that sums everything until you ...
[7 replies] Last: I got it! Thanks for your help all! (by xander333)
Pupulating 3d array from three column data file
 
Hi all, I have a text file with three columns like so: 4.556663 238.047684 0 77.605812 268.39...
[5 replies] Last: Sorry... I should have explained that. The "::" is called the scop... (by jrohde)
June 2010 Pages: 1... 1920212223... 26
  Archived months: [may2010] [jul2010]

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