
please wait
by BloodMetal
Character Restriction
|
How can I restrict the user to input characters for e.g. if I ask them for a number? |
Oct 31, 2009 at 8:01pm
[3 replies] Last: You need to #include<string> If you are not using namespace std; ... (by Bazzy)
|
by raz
c++ homework
|
hello all plz help me with this homework. consider the definition of the following class: class CC { public : CC (); //line 1 CC ... |
Oct 31, 2009 at 7:18pm
[10 replies] Last: thx all (by raz)
|
by fleur1990
Class Date
|
Hello every body i have to understand this code but i understand it, can you explain my line by line please? class Date{ public: Date(int inDay, int inM... |
Oct 31, 2009 at 7:08pm
[2 replies] Last: thank you Bazzy very much! (by fleur1990)
|
by craneJ
im working on a switch statement and it wont work for me
|
Im tryn to get this switch statement to work, so that it will display a different message depending on the letter input. i get the program to run and it says "E... |
Oct 31, 2009 at 3:24pm
[1 reply] : #include <iostream> using namespace std; int main() { char ch; ... (by mcleano)
|
by makan007
For Loop
|
int a = 5; for (int ctr = 0; ctr < 4; ctr++) a = a - 1;//1 a = a + 3;//2 cout << a << endl; I need to know whether you need to evaluate b... |
Oct 31, 2009 at 2:51pm
[2 replies] Last: Ok, I think I know why the ans is 4 now. Tks. (by makan007)
|
by BloodMetal
Program executing although answer is NO?
|
Hello I`m trying to make a simple program to enter info about TVSeries (doesn`t save anything anywhere, just did it for fun) So, I have the user confirm at a c... |
Oct 31, 2009 at 2:05pm
[2 replies] Last: Thank you :) (by BloodMetal)
|
by SoetSout
unknown crit error
|
Hi i am busy with a project ATM, and i get a crit error at a certain place all the time, it is marked in the source code main.cpp #include "Driver.h" ... |
Oct 31, 2009 at 2:01pm
[2 replies] Last: part2 driver.cpp void addRecord() { int x = 3; /... (by SoetSout)
|
by nuttynibbles
return string array
|
hi people, im trying to return an array. here is my function. string *split(){ string *ptr; string data ; ptr = data; data = "apple"; data = "... |
Oct 31, 2009 at 1:40pm
[3 replies] Last: hey people, i managed to resolve it. tks anw (by nuttynibbles)
|
by rihab
printing program
|
hello everyone I am working in a biomedical department in a hospital and they have to test each device in the hospital in a specific date that due to the devi... |
Oct 31, 2009 at 12:57pm
[2 replies] Last: thanks PanGalactic for the reply... but for sure no one is perfect an... (by rihab)
|
by ashley19
My Guessing Game, you can't ever win?
|
I tried multiple times to win, but I can't! Is it just me or is my program flawed? Also I have a char variable named answer to ask if a user wants to play a gam... |
Oct 31, 2009 at 12:41pm
[9 replies] Last: Programming requires you to think like a programmer. A programmer is a... (by gcampton)
|
by XxGunMastaxX
pseudo random numbers, not random?
|
Hello pplz..., was just wonderin' if anyone can help me with a problem I am haffing.... I was just tryin' to do a simbple program that asks if you want to fire,... |
Oct 30, 2009 at 11:16pm
[4 replies] Last: This won't help you any, but it is a valid response to your message ti... (by Duthomhas)
|
by jimctu
Measuring execution time
|
I need to measure the execution time of my programs... any one knows an easy way to do that in C? |
Oct 30, 2009 at 11:11pm
[6 replies] Last: thx (by jimctu)
|
by sonycheema
simple programe
|
hay guys i have hw assignment to make a programe which will take a number and print it line wise at screen ..for example if i give 3121 then it will print 3 1... |
Oct 30, 2009 at 7:21pm
[5 replies] Last: I think your professor wants you to play with the division / and rem... (by Duthomhas)
|
by firemaneric
C++ to HTML file
|
Disclosure: This is a HW assignment. I am working on a calendar homework assignment where we are to create a calender for a specific month. This calender nee... |
Oct 30, 2009 at 7:01pm
[2 replies] Last: You need to learn how HTML files are organized. Here's a good tutorial... (by Duthomhas)
|
by pressence
functions not working.
|
Hello. I'm working on a simple game. I know this isn't advanced, or proper way to do this, but I'm just learning functions. That's where I need the help. Could ... |
Oct 30, 2009 at 5:50pm
[7 replies] Last: Thank Bazzy, works fine , and it should have been obviouse to me that ... (by pressence)
|
array of strings? |
hi, i was making a tic tac toe game with an array of strings. but every time i compiled the program to see if it would display the strings it crashed. is there ... |
Oct 30, 2009 at 5:41pm
[2 replies] Last: It's just like any other array of objects, assuming that you are using... (by kempofighter)
|
by robertwang
how to convert hex to string?
|
hi all is there anyone who can tell me how to convert hex to string with cpp code? tks |
Oct 30, 2009 at 4:16pm
[3 replies] Last: So you want to convert a hex number to a string representing that numb... (by Bazzy)
|
by Joliedoll
Function problem with triangles.
|
Help would definitely be appreciated! The problem is: Three numbers are sides of a triangle if all numbers are positive and the sum of any two sides is longe... |
Oct 30, 2009 at 3:58pm
[7 replies] Last: So with those else statements, it should be else return false. And... (by Joliedoll)
|
by ragn4rok234
Euro symbol
|
So, I'm doing a basic USD to Euro converter for my class, and its all easy-peasy so I'm adding a little bit of flair. How do I put the Euro symbol in for a cons... |
Oct 30, 2009 at 3:25pm
[4 replies] Last: BTW, if you want good marks, I would avoid all the bitty-kiddie talk a... (by Duthomhas)
|
by udochi3
Problem overloading the addition operator
|
Pls i'v problems overloading the addition(+) & subtraction(-) operators as i did the multiplication & division operators by declaring them as friend functions w... |
Oct 30, 2009 at 2:43pm
[1 reply] : You are missing a semicolon after the class closing brace, a typo in ... (by Bazzy)
|