Beginners - January 2009 (Page 8)

by known
error C2601 && fatal error C1004
 
Hello, my program have two errors which are error C2601 && fatal error C1004. and these are saying that; error C2601: 'main' : local function definitions a...
[5 replies] Last: Finally I saw my mistake :) It was in my one of other functions that ... (by known)
palindrome program....
 
#include <iostream.h> #include <conio.h> #include <string.h> int main() { char strn ; int i,j,flag=0,len; cout<<"Enter the string:"; cin.getline(str...
[3 replies] Last: or something like char *s = strn; // point to first char ... (by anders43)
by peeep
can't make output for this
 
hello I'm beginner and making a program to enter 100 student's names and their scores in 5 subjects then it outputs every student name ,his scores ,the total s...
[1 reply] : Hi there im totally a newbie into this programing lang' how do i start... (by nevndsouza)
What is wrong with my program?
 
i wrote a program for our c++ (not quiet c++!!) university project which has a big Bug! the question is this: we want to move in a square (with the measure of...
[1 reply] : Try something like this instead - which seems more like how a human wo... (by anders43)
Creating Directories in Console Programs
 
so i'm making a simple program and in it i want the users to be able to type in a name and it makes an empty directory. This is what i came up with #include...
[2 replies] Last: that's exactly what i was looking for, thanks a ton for the quick resp... (by kartracer12)
File input/output
 
I am learning how to do file input/output, because I am using OCR and I am scanning multi-lingual text, and I want to be able to go in with a utility and change...
[6 replies] Last: I'm not 100% sure of it yet, but I think this works . . . The cause ... (by DesertAvatar)
string class.......
 
I am new to string class..... // my first string #include <iostream> #include <string> #include <conio> using namespace std; int main () { string ...
[3 replies] Last: I'm sorry for my English, but I think that this line #include <con... (by Nikky)
How to pass parameter in stdin
 
Hi all, Currently this program of mine hard code the input data (i.e. mydata.txt) inside it. How can I modify it so that I can pass parameter for input f...
[4 replies] Last: thanks chris. (by gundalav)
Stuck in infinite loop
 
Hi guys, I'm new to C++ and have been working through Michael Dawson's 'Beginning C++ Programming'. What I've been reading thus far seems to make sense, I've...
[2 replies] Last: Thanks a lot Malachi, that answers my questions brilliantly! Progra... (by WellsWells)
palindrome
 
can you please help me to create a program that will test the program if it is a palindrome or not this is the sample output.. Enter a string: MADAM MAD...
[3 replies] Last: thank you for answering my request!!! (by kristina)
Converting String to Numerical Value
 
Hi all, This code snippet below // skip previous process for (unsigned i = 0; i < DNAStrings.size(); ++i) { // Do sth with DNAStrings ...
[2 replies] Last: It's no array, but this might help: #include <map> //... map<cha... (by seymore15074)
Simple http download file?
 
Is there any simple way to download a file from the internet, given the URL as a cstring? I found something on codeprojects, but it wasn't helpful at all-it ...
[2 replies] Last: http://msdn.microsoft.com/en-us/library/aa384322(VS.85).aspx (by closed account z05DSL3A)
by Morgan
cin.ignore() not working
 
Hello. I am attempting to write a little program that will allow a password to be printed out if you know the first password (the date) here's the code i have....
[2 replies] Last: It is because you are mixxing formatted and unformatted input. http:/... (by Duthomhas)
using a windows textbook on a mac...
 
Hi hi hi, just starting out with my ambitiously titled "Learn C++ in 21 days" by Sams, my computer is a mac osx. The book is basically designed for a windows...
[4 replies] Last: you're welcome:) (by andreacone)
Using ifstream variable in while loop condition
 
I have the following code: #include <iostream> #include <fstream> using namespace std; int main() { const int ARRAY_SIZE = 100; int numbers ; ...
[2 replies] Last: Ah I see, that makes sense. Thank you. (by Return 0)
Don't understand a function in this sudoku solver
 
http://rapidshare.com/files/lain.cpp.html I understand everything what the solver does but I do not understand what the guess_number() function is doing in t...
[8 replies] Last: Thank you Malachi, but unfortunately that wasn't it. The problem is w... (by rockinruler)
by sadaf
recurtion
 
hi i have question that with the recursive function,multiply two number with using plus and dont use the sign of multiple? thanks
[5 replies] Last: yes sorry for not understanding ,i mean recursive function, (by sadaf)
Linker error
 
hello everybody, I'm trying to compile my code and I get this error: [Linker error] undefined reference to `CharRange::CharRange(char, char)' ...
[6 replies] Last: Because when you were trying to the link the executable, it was not li... (by jsmith)
HOw much to know to learn?
 
I am i beginner in c++............. I know till function(II) in the tutorials in this site..... i wanted to learn windows programming.....presently i don't...
[3 replies] Last: thanks..i'll try all these............. (by Harlequin)
How can I design a clock?
 
Hello, I have a question about writing a program in C++ to put up a clock face. Below is some code to try, but I'm afraid it's not a very good picture. The ...
[1 reply] : Use Win32 api and see the Petzold sample for a clock. (by george135)
January 2009 Pages: 1... 678910... 16
  Archived months: [dec2008] [feb2009]

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