Beginners - July 2014 (Page 32)

Help me sir, please.
 
/*This is just simple but i cant locate the error! everytime i run this code the printf at last didnt appear! please help.*/ #include<stdio.h> #include<con...
[6 replies] Last: What part don't you get? Deprecated means obsolete or not support... (by AbstractionAnon)
by mgarza
Help with Classes and Arrays
 
Hello all, I am a beginner in programming, so having lots of trouble getting started with and assignment. Any help would be greatly appreciated. This is the as...
[6 replies] Last: Line 91: You declare attackpower as an array. Line 97, you attempt t... (by AbstractionAnon)
Gauss Jordan Algorithm
 
Hi everyone! I'm a beginner in c++ and have never programmed in any other language before. Right now I am trying to write a simple console application that wil...
[10 replies] Last: PLEASE USE CODE TAGS (the <> formatting button) when posting code. It... (by AbstractionAnon)
programming problem
 
help in this !!!! Modify the program so that it asks the user to enter any number other than the number equal to the number of times they've been asked to ente...
[1 reply] : WTF its the same as the thread earlier okay heres the code #includ... (by xenovia12)
help me in my homework
 
write a program that tells the user what type of movie they can attend based on their age and if they are with parent or not. Under 13: G Under 13 with parent: ...
[1 reply] : i did it no reply now (by xenovia12)
by fi50
Vectors and Classes
 
This is more like a general query than a question, but basically I was wondering whether it was possible to have a vector as a member of a class that stored obj...
[4 replies] Last: That makes sense. Thanks for your help. (by fi50)
by bonho
Create and terminate threads from main thread
 
I have a non static class that does some calculation upon receiving data updates. However for some kind of update it wishes to asynchronously wait a while befo...
[1 reply] : Something like this, perhaps: #include <iostream> #include <vector> ... (by JLBorges)
Connection to a server
 
Hey people, I want to know how I can write a Programm in C witch is connecting to a server and send this server a file or something other. I hope you can help...
[no replies]
template
 
should i really have to know about templates?
[7 replies] Last: @cire hahaha i see it was the function max() he did not mean std::m... (by xenovia12)
by clard
Help with a problem
 
Hi, I was assigned an extra credit problem that I have no idea how to do, I was wondering if you could give me some example code to do this (Using openGL): h...
[1 reply] : in think in exercise 1 you should only duplicate the code haha (by xenovia12)
Implicit derived class in c++
 
I have no idea in this topic implicit derived class and implicit derived class object to base class object conversion. Please send me the explaination about thi...
[2 replies] Last: Ummmm... actually the first one will compile. It is a constant pointer... (by TwilightSpectre)
by mgarza
Help inputting text file into an array.
 
Hello all I am trying to input a text file into an array. The problem is the text file has ten rows and three columns that I need to work with. I am able to inp...
[3 replies] Last: read my post again for a quick (dirty) example. also, you're better of... (by mutexe)
Sum Function
 
Hello, I am having trouble with a function I am trying to make. The function is supposed to sum numbers from 2 to 4 numbers used. For some reason I am getting ...
[4 replies] Last: Websearch is your friend. It does appear that GCC 2.96 had a non-stan... (by keskiverto)
by pudgz
Trouble with fstream
 
I'm working on this project that has me read the word in front of the first three commas in a text file the user inputs the name to. I'm getting the program to ...
[4 replies] Last: You're using substr incorrectly. It takes two numbers: the index to st... (by Yay295)
by s5657S
Cout change the variable value
 
In the main function,if i call the cout << answer << "\n";, the final answer will be change.Can someone explain to me why this happen ? #include <iostream>...
[4 replies] Last: Finally,I know the answer.I should initialize the cycle variable value... (by s5657S)
assigning int variable to string
 
Hello, I am a beginner in c++. I have a problem on assigning a variable(integer) into string variable. In this case, customercoffee is a string and order is an ...
[1 reply] : If you have access to C++11. http://www.cplusplus.com/reference/stri... (by Hippogriff)
Reading ifstream and getting duplicate
 
I'm reading the contents of a .txt file into an array of char arrays. For some reason I'm getting a duplicate on the last entry, can anyone shed some light on t...
[2 replies] Last: Hmmm. Ya know, you're right! Thanks. (by Mixelplik)
#include <graphics.h> problem
 
So i have a problem when testing other peoples code. I wanted to use this "simple snake game" code but i will get an error when i build and run the program. the...
[1 reply] : Second line of the article: **: You must compile it in TurboC3/Borlan... (by Lachlan Easton)
For Loops: When would I use them for game programming?
 
I understand how for loops work. They're used to list integers if the integer meets the requirements. I understand that. (Question: Are they only for numerical ...
[11 replies] Last: for( A; C; Z ) { ...; } // is exactly the same as { A; w... (by Mathhead200)
by Yay295
Loops and Variable Initialization
 
Will a variable initialized within a loop be destroyed and recreated every time it loops? Does it matter if the variable is initialized to something, or is a co...
[4 replies] Last: I guess the best thing to do then would be to initialize the variable ... (by Yay295)
July 2014 Pages: 1... 3031323334... 43
  Archived months: [jun2014] [aug2014]

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