Beginners (Page 88)

Algorithm puzzle
 
I am currently taking a cs class and have this assignment. I am completely lost, so any help would b...
[no replies]
scanf(...)
 
Hello all, I have a problem interpreting the code. I know that scanf will pass stdin into the se...
[9 replies] Last: g=*(buffer+nextc++); Does this mean: g=buffer ; nextc++; ? ... (by knowNothing)
order of operations
 
Hey all I have a quick question how would a computer read this process. If a = 52, b = 13, c = 4, a...
[1 reply] : You need to consult a C++ operator precedence table: http://en.cpprefe... (by Catfish3)
Trouble with obtaining strings from console.
 
void Result::Input() { system("cls"); std::cout<<"ENTER STUDENT'S ROLL. NO.: "; std:...
[1 reply] : you need to catch the newline. void Result::Input() { system("cl... (by Yanson)
The cost of an algorithm
 
how i can calculate The cost of this algorithm? for(int i=1 ; i<=n ; i++) { sumi +...
[7 replies] Last: In the inner loop you've got j increasing and n decreasing. It ends wi... (by ne555)
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 ...
[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....
[3 replies] Last: Ok thanks for the advice! (by solemnservant)
Shuffle Card Deck
 
We had a 10 minute lecture then were given this problem. Write a program to simulate a deck of 52...
[no replies]
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 arr...
[no replies]
Help using "strtok" in C
 
I need to tokenize a string and have an array of pointers point to each word. If somebody could plea...
[no replies]
help
 
write a program that uses a witch statement to create a menu for a calculating machine. the program ...
[4 replies] Last: yeah i do (by Life FUTURE)
by Larry2
regex double escaping
 
Hello, Are there any way to avoid regex double escaping : \\s ? In python, for example, you can ad...
[no replies]
Overloading operators
 
I've been handed this assignment where I should make two classes, one Polygon class and one Point cl...
[14 replies] Last: Haven't fixed the polygon + polygon yet but will edit it in there once... (by Pethead)
by Niven
SDL won't load image
 
I'm trying to make a program using SDL and have a bunch of images that I need to load in order to ma...
[no replies]
Ifstream not loading file
 
Here is my SetTiles function for loading maps in my game. int Map::SetTiles(char* mapfile) { int X...
[2 replies] Last: I feel like an idiot. It was the wrong path lol. (by Fredbill30)
matrix multiplitation problem
 
Hi everyone! I am new to C++ and I am required to do an assignment about matrix multiplitation. My ...
[1 reply] : You must have three loops: rows of A, columns of B and the shared size... (by keskiverto)
shutdown program
 
#define _WIN32_WINNT 0x0501 #include <windows.h> #include <iostream> using namespace std; i...
[2 replies] Last: Alrighty, that solved the first problem, thanks for the info, also rep... (by takayume)
Best practise for finding length of elements in an int array
 
Hi, I need to calculate the length of an array by its elements, for example my int array would be...
[10 replies] Last: Yes I need to count the elements in one of the arrays, my function com... (by nukem266)
by poziga
Two dimensional parameter in function
 
int test ; //visina and sirina are not constant flood(test, color, x, y); //i would like to send t...
[12 replies] Last: So lets say I wanna get rid of a 1000 in line 23 and 24. How to use ma... (by poziga)
by Omeyer
How to terminate program- Question
 
Let me start off by saying that this forum has been extremely helpful since I have been taking an on...
[6 replies] Last: A capital 'Q''s value is 81 and a small 'q' has a value of 113. Both ... (by Omeyer)
Pages: 1... 8687888990... 124
  Archived months: [mar2013]

Cannot post in this page. To post a new message, go to the first page.