
please wait
by ashonk226
At wit's end-Beginner problem
|
I have solved some of this problem but not all of it and have spent so much time already my laptop will be reduced to trash. C++ program that prompts the use... |
Apr 15, 2013 at 1:47am
[6 replies] Last: what i do for this is quite complicated. and something like this mayb... (by Lim Boon Jye)
|
by senorito
I don't understand why I am getting the largest value repeated
|
Hi. I am trying to get an array of random numbers from 1-100 divisible by 11 with a for loop, so I did this: void Array() { int k,m; //m=rand(); for (... |
Apr 15, 2013 at 1:25am
[3 replies] Last: I've shown you how to generate numbers that divide equally by 11 witho... (by Zaita)
|
by travisisgood
Right Justified Numbers
|
I'm trying to figure out how to output some digits that are all right justified without using setw(). Is that possible? I was working out of Programming Princip... |
Apr 15, 2013 at 12:47am
[no replies]
|
by hanhthai
Please help with rand function
|
I need to design a program that generates 100 random numbers and keeps a count of how many of those random numbers are even and how many are odd. I do not know ... |
Apr 15, 2013 at 12:44am
[4 replies] Last: Thank You. You are awesome :) (by hanhthai)
|
by CarolinaSly
Creating a read/write database.
|
I have a question. I can't seem to find any specifics. I won't to create a code where a use can input a name. Now inside that name would be there information, s... |
Apr 15, 2013 at 12:32am
[2 replies] Last: You write a text file that looks like this: Full Name, Tele-phon-e--N... (by closed account 18hRX9L8)
|
by juniorowy
Strange result of using delete char in class
|
Welcome! I have a problem with use of destructor in my program. If I am using delete *char in destructor, something strange is going on, I mean program doesn'... |
Apr 15, 2013 at 12:06am
[5 replies] Last: It is not, you are just unlucky. As I said before temp->sign = new ch... (by ne555)
|
by DoctorWhy
Why is this person using pointers?
|
I am just getting back into C++, but I have been programming for quite some time. I decided to jump into using DirectX 10 for the fun of it. Anyway, I came ac... |
Apr 14, 2013 at 11:46pm
[6 replies] Last: Sweet! Thanks guys! I notice the guy does that for most of the poin... (by DoctorWhy)
|
by Bolong Yu
Function
|
How to include a function incx to increment the value of x by one? |
Apr 14, 2013 at 11:40pm
[2 replies] Last: const static unsigned short int Increment(const static unsigned short... (by Pickle Gunner)
|
Overloading functions on c++ |
Hello, does this code seem avoid a duplication of code in each of these functions? I need to call one function from within another and that's it. I also have to... |
Apr 14, 2013 at 11:30pm
[1 reply] : This is as efficient as you will need it, Btw though - Test if all 3 n... (by Pickle Gunner)
|
by yhrght12
Matrix Product
|
Here is my code so far, but I dont know what to do now. I am trying to write a function that takes 3 10x10 arrays as arguments and then stores the matrix produc... |
Apr 14, 2013 at 9:47pm
[1 reply] : Use code tags: http://www.cplusplus.com/articles/jEywvCM9/ You should... (by eklavya sharma 2)
|
by yhrght12
Algorithm puzzle
|
I am currently taking a cs class and have this assignment. I am completely lost, so any help would be greatly appreciated. Heres the question. Thank you. In... |
Apr 14, 2013 at 9:06pm
[no replies]
|
by knowNothing
scanf(...)
|
Hello all, I have a problem interpreting the code. I know that scanf will pass stdin into the second argument, but in my case the second argument is the add... |
Apr 14, 2013 at 9:00pm
[9 replies] Last: g=*(buffer+nextc++); Does this mean: g=buffer ; nextc++; ? ... (by knowNothing)
|
by jlucero77
order of operations
|
Hey all I have a quick question how would a computer read this process. If a = 52, b = 13, c = 4, and float e = 2.71828 A) a / d % b * c B)a % c == b C)!(... |
Apr 14, 2013 at 8:56pm
[1 reply] : You need to consult a C++ operator precedence table: http://en.cpprefe... (by Catfish3)
|
by cplusfreak
Trouble with obtaining strings from console.
|
void Result::Input() { system("cls"); std::cout<<"ENTER STUDENT'S ROLL. NO.: "; std::cin>>rollno; std::cout<<"ENTER STUDENT'S NAME: "; ... |
Apr 14, 2013 at 8:17pm
[1 reply] : you need to catch the newline. void Result::Input() { system("cl... (by Yanson)
|
by smemamian
The cost of an algorithm
|
how i can calculate The cost of this algorithm? for(int i=1 ; i<=n ; i++) { sumi += 1 ; for(int j = 1 ; j <=n ; j++) { ... |
Apr 14, 2013 at 7:43pm
[7 replies] Last: In the inner loop you've got j increasing and n decreasing. It ends wi... (by ne555)
|
by medo sayed
power function instead of pow function
|
i have to make power function instead of pow function ex: x^y it's easy if y is integer but it's to hard if y is fraction i want any hint plz ... |
Apr 14, 2013 at 7:36pm
[2 replies] Last: yes it's premitted i will try it thank you ^_^ . (by medo sayed)
|
I am struggling on the "Password Verification" problem |
I have been working on this problem for a while and I cannot get the program to accept my arguments. The problem requires a password to be at least six charact... |
Apr 14, 2013 at 6:52pm
[3 replies] Last: Ok thanks for the advice! (by solemnservant)
|
by CCTHECRAW
Shuffle Card Deck
|
We had a 10 minute lecture then were given this problem. Write a program to simulate a deck of 52 playing cards. Represent your deck as a 2D Array where t... |
Apr 14, 2013 at 6:14pm
[no replies]
|
by charliep123
Converting char array into int array
|
i am having trouble finding a way to convert a char array into an int array. say i had a char array: char dogs = {'31', '29', '34', '21', '35', '23', '63',... |
Apr 14, 2013 at 5:56pm
[no replies]
|
by jones12
Help using "strtok" in C
|
I need to tokenize a string and have an array of pointers point to each word. If somebody could please help me I would really appreciate it. so if i have.... ... |
Apr 14, 2013 at 5:08pm
[no replies]
|