Beginners - January 2011 (Page 14)

bool returns false, chdir() still works...
 
ok so i have a function bool fexists(const char *filename) { std::fstream ifile(filename); r...
[1 reply] : Figured out, not posting code unless asked. Basically I wrote anot... (by closed account 4Gb4jE8b)
while statements and getch()
 
void pause() { //requires <iostream> <time.h> <conio.h> clock_t pause;//pause is equal to 1 se...
[7 replies] Last: no i'm not expecting full portability, aiming for windows xp, vista, a... (by closed account 4Gb4jE8b)
traditional long division c++
 
I need to write a program for traditional long division My program shows the correct answer of remai...
[2 replies] Last: [co de] "Your code goes here" [/co de] Your program is confusing.... (by ne555)
Strings or char arrays? also cctype question.
 
Ok, first off, is it better to use strings or char arrays. Strings seem much easier to use, but I'm...
[5 replies] Last: lol, we all posted within 20 seconds of eachother. (by Kieth89)
Printing any array using FOR loop
 
I'm trying to print any array using this function but I need help dictating the end of any array. I ...
[6 replies] Last: #include <iostream> using namespace std; template <class T, unsig... (by m4ster r0shi)
p.l.e.a.s.e. h.e.l.p. m.e. :D
 
i am having trouble with my code it keeps giving me an error saying it expected a ";" before string ...
[3 replies] Last: thanx alot that helps a bunch (by cainen172)
Can't figure out why program keeps exiting.
 
Having a little trouble with this. /* Lab3A */ #include <iostream> #include <iomanip> #i...
[2 replies] Last: your codes compiled and work fine in my cfree-5 with a little change, ... (by hasula)
by Hulten
Setting CMD title
 
I'm making a simple text based game with C++ on command prompt and I can't find out how to set the t...
[3 replies] Last: Obligatory link: http://cplusplus.com/forum/articles/28558/ (by Disch)
c++ book for objetive questions
 
kindly any one suggest me a good c++ objective question book........
[no replies]
How to compare two files line by line (C++)
 
Hello. I have two files. I want to compare them line by line: first line of first file with first...
[7 replies] Last: Yeah pretty much, but I like my traditional scanf and printf better th... (by rocketboy9000)
Guaranteeing a switch to C:\
 
Currently I'm just using chdir("..\..\..\..\..\..\..\..\") for awhile to try and guarantee a switch ...
[4 replies] Last: Thanks again. (by closed account 4Gb4jE8b)
by Batho
Creation of windows programs
 
Hello all! I am new to this pragramming thing and I am enjoying it but I am lazy to go through all t...
[8 replies] Last: File>New>Project>GUI Application>Framed Base>Name It>Done (by some random dude)
text
 
Hello how i can save text in char inputed with cin without knowledge how much characters there is i...
[3 replies] Last: how i can dynamically resizing the array (by theimmortalbg)
Getting wrong values with class composition
 
I'm trying to figure out how to use composite classes, but I'm having a lot of trouble getting the v...
[19 replies] Last: http://www.cplusplus.com/reference/iostream/manipulators/setfill/ ... (by ne555)
Is this a good calculator code?
 
#include <iostream> #include <windows.h> using namespace std; int main() { float first; floa...
[12 replies] Last: [quote=some random dude]If we have a variable declaration in a loop, o... (by coder777)
mathematically phrase input in console
 
Hi I want to give the console a mathematically phrase like this: (3*x^2+7-2/x^6)/3^x and then inp...
[1 reply] : It's a problem of parsing. It's not really hard. You have to read the ... (by hamsterman)
Make console loop the program until user is ready to quit
 
So im making a program that would translate date from dd/mm to it is <day> of <month> I want to l...
[5 replies] Last: Hey Filipe i cleaned up my code thanks to you here is the new one #i... (by adrianooo231)
Passing a class?
 
I am trying to declare a derived class conditional on user input and am not sure how to implement i...
[10 replies] Last: You're on the right track I think. I'm not too familiar with Securitie... (by Computergeek01)
by acorn
can someone check if my assignment operator looks ok
 
can someone tell me if my assignment operator looks ok. i am suppose to delete in the assignment rig...
[3 replies] Last: this thread is a little old but i wanted to answer. its because it wa... (by acorn)
Classes & Inheritance
 
Alright so in Visual Studio 10, my program compiles okay. But IntelliSense is telling me that there'...
[1 reply] : A universal solution to those problems is deleting the .ncb file! (by hamsterman)
January 2011 Pages: 1... 1213141516... 42
  Archived months: [dec2010] [feb2011]

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