Beginners - September 2008 (Page 9)

Substring Issue
 
I have a code that takes your birthdate in the format YYYYMMDD and break it up into MM DD YYYY but I...
[3 replies] Last: Ok, well I noticed several errors...first of all, the ' ' around a sym... (by firedraco)
Deleting a single character from a string
 
This one should be nice and easy for all the experienced programmers out there, but I've been strugg...
[2 replies] Last: Golly Gosh... Who would have thought that to fix it all I needed wa... (by rapture2048)
C++ virgin. INVENTORY PROGRAM
 
I am brand new to C++. I havent done any programming whatsoever. I am taking a class in school for i...
[4 replies] Last: You use the for loop like poke386 shows. When all the data is stored... (by Umz)
Calling a class from a class?
 
I'm working on a card game program. I have a class called Deck and a class called Card I'm trying...
[3 replies] Last: Thanks. I didn't realize order mattered. I would've assumed the compil... (by slythfox)
easy to solve doubt
 
Hello I need to know what means ::? is an operator? are there other operators like that? where ca...
[2 replies] Last: :: is the scope operator. One of its uses is as firedraco says. But ... (by jsmith)
Colon use in function call
 
I need to understand the purpose of the colon in the below function call. DigitList (unsigned...
[3 replies] Last: Curt, the syntax you are referring to is called an initializer list .... (by jsmith)
What happens if you put ';' after for(...)?
 
Look at this code for (a=0; a<10; a++) { printf ("%d",matrix1 ); } for (...
[3 replies] Last: Oh, I didn't notice. That's weird. Fixed. (by helios)
Learning Arrays. Questions...
 
Since I'm learning Arrays and I haven't learned them when I was studying C++ I excpect to have many...
[2 replies] Last: when you set the pointer to v, which is an adress, you re settin gthe ... (by Path Seeker)
by Umz
Can't figure out this warning (Resolved)
 
I've created a program that reduces damage, I want to use it in a game a characters defense. The pro...
[8 replies] Last: Wow, yea... um I apologise for the infinite loop. I am deeply sorry to... (by Umz)
Template object creation problem
 
hi i wnt to create a template object which takes templates as arguments . The below code give...
[no replies]
by Syx
Goto and return 1
 
Ok so, I read that goto and return 1 shouldn't be used and although I don't quite understand why, I'...
[4 replies] Last: Thanks for the replies guys, I can see why goto should be avoided by l... (by Syx)
student in a chaos..
 
anyone pls help me to program a multiplication table in c++ using the iostream.h library thnx!
[4 replies] Last: #include <iostream> using namespace std; int main() { for ... (by YesIAm)
by akama
Random
 
I have a question. I was looking at a script and it used "rand" as a function but it did not declare...
[9 replies] Last: #include <iostream> #include <ctime> int random(int low, int high... (by YesIAm)
by Roads
newbie function question
 
In the tut example below I cannot understand why "a" is reduced by 1 everytime "factorial" is called...
[10 replies] Last: Oddly enough, once you understand recursion, it's easier to write a re... (by helios)
Cuple questions
 
Hello C++ commuity. I'm new to programming and I've learned allot in the past few weeks. Right no...
[3 replies] Last: Thank you for your help! (by joltting)
by Claymz
Search key problem
 
first of all hi, im trying to make a "search key" of some sort (- Linear search), but when i want...
[2 replies] Last: ty :) (by Claymz)
by Xyzk
[Solved]An Access Violation in merge-sort
 
Well, in my long (not yet) and hard (already) journey to become a great alghoritm guru, I met an obs...
[2 replies] Last: Ah... Ah... .... I think i should go outside ;P Thank you. (by Xyzk)
Simple Sort 2D Char & Binary Serch C++ Part 2
 
Ello Konrad Zuses of the of the C++ forums I have another issue for you guys to easily solve and sim...
[3 replies] Last: http://www.cplusplus.com/reference/clibrary/cstring/strcmp.html (by helios)
by Syx
Windows form question
 
Hello everyone, I'm pretty much just starting to learn C++ and I got a question about windows form....
[7 replies] Last: Making the switch to a Windows Form application would not be very easy... (by Dudester)
Run Program again loop.
 
Ok, I have searched for the past 15mins and cant find anything. I kind of remember doing this but ca...
[7 replies] Last: "Hurr durr. I sacrifice structure for 2 extra nanoseconds." Seriously... (by helios)
September 2008 Pages: 1... 7891011... 16
  Archived months: [aug2008] [oct2008]

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