Beginners - September 2010 (Page 11)

istream variable assign
 
I probably sound like a noob, and, infact, I am. Please forgive me if this is an easily found answer...
[7 replies] Last: If your requirement is to save to multiple files based on the file nam... (by naivnomore)
by TomRed
A string problem
 
I found a practice problem on these forums and was trying to write a program for it when I couldn't ...
[3 replies] Last: Better a silly mistake that's easily corrected than a hard-to-find bug... (by Zhuge)
I think its a looping problem
 
this program takes in 10 students or less but when you enter less then 10 it seem that the loop keep...
[1 reply] : You array is a constant size 10, so it will always have 10 students, e... (by Zhuge)
display undeclared
 
#include <iostream> # include <stdio.h> #include <conio.h> # include <windows.h> using namespac...
[2 replies] Last: He means you should add this to the beginning of your program: short ... (by wtf)
takes only one input
 
main() { int i; char c; for (i=0;i<5;i++) { scanf("%d",&c); printf("%d",c); } } Why the program...
[2 replies] Last: srry, but i didn't get the reason till now... (by Aurelio)
c++ system() function
 
Hello.i am back with a new "issue".i searched the internet about it but not weary much.(or maybe i d...
[5 replies] Last: ok..ty.i will read more about it and it's behavior in different situat... (by Mihay07)
by wtf
Coeblocks Crash
 
I am on a library computer, windows 7 and codeblocks has frozen, for well over hour and I can't clo...
[1 reply] : That sounds odd. Maybe Windows 7 has an incompetent task manager? Mayb... (by Albatross)
i do not know if this it a TRUE statement
 
Consider the following declarations: int score = 80; char answer = ā€˜N’; int n = 8; char ch...
[8 replies] Last: Here's an ASCII table: http://www.asciitable.com/ The red Chr colu... (by moorecm)
by Deluge
Convert char* to wchar_t*
 
I've been at this one for a while now, and have tried a few solutions. I am trying to convert a cha...
[2 replies] Last: Thanks, I won't worry about it for now, as long as it is being convert... (by Deluge)
by dlugo
Freeing memory after allocating memory?
 
Hello! Hey all! I've just recently learned how to use classes. To learn how to use 'classes' I'...
[4 replies] Last: I get rid of it when an object is deleted, or the end of my program. A... (by Thumper)
Trying to convert VB.NET to C++ Exportable DLL Function
 
I hate to resort to this, but I have spent the last few days poring through website after website, t...
[3 replies] Last: Ok. I got the code compiled with no errors / warnings. I guess now I'l... (by RCM LittleC)
The Game of Nim
 
hey all im currently writing this program for class and i need some pointers im not sure what direct...
[6 replies] Last: You may want to take a look at Teach Yourself C++ in 21 Days . While ... (by helios)
by Barca
Erase text in a line before a certain character
 
Hi, I just started using C++ and I've been trying to write a program to erase all texts in a line ...
[4 replies] Last: I just started using C++ and I've been trying to write a program to e... (by sohguanh)
Output format question
 
As a minor part of my program, I am trying to output dates (of the year). If given: 2/3/2010 I w...
[7 replies] Last: Thanks kempo, I got the leading 0's to be printed using setfill. Bu... (by meeztered)
Source Code for QB Rater
 
Source Code for QB Rater I made in my spare time if your interested. It's in C but will compile on ...
[no replies]
Storing variables within a loop
 
Sorry for the topic title; I couldn't really think of anything better. My question is this: I nee...
[6 replies] Last: You will find all of the information in that link, I'll explain in wor... (by Thumper)
gotoxy() for Visual C++
 
Hi. I'm writing a console application in Visual C++ and I need to change my cursor position, which I...
[3 replies] Last: I've always used this function for changing the cursor position in the... (by Thumper)
by wasabi
operator= issue
 
Before asking the question, I think it better to show the relevant code snippets. //MyCanvas.cpp...
[14 replies] Last: Actually, I figured it out. I still don't understand the error message... (by wasabi)
Debugging Input into a vector
 
I'm fairly new to c++, so I apologize in advance if the answer is obvious. Basically, I'm writing...
[8 replies] Last: Alright, well I appreciate it anyway. A friend of mine helped me rewr... (by Chrome1)
Loop problem (1,2)
 
I find it hard to make a loop code. Our instructor made us print out the following numbers using l...
[26 replies] Last: The exact reproduction of this loop: int n = 1; for(int i = 0; i ... (by filipe)
September 2010 Pages: 1... 910111213... 32
  Archived months: [aug2010] [oct2010]

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