Beginners - September 2008 (Page 13)

Please comment on my program (Simple TXT Writer)
 
*Alright the scoping problem has been fixed , it was actually easier to fix than I thought. Anyway it's fixed now. /* * Simple TXT Writer, by Danny Kn...
[7 replies] Last: Why not use system("cls"); There's a thread practically dedicated t... (by helios)
Does "return" always terminate the programm?
 
I have the following code printf("Start. Give a\n"); scanf("%d",&a); printf("\na is %d\n",a); if (a==2) { return a; printf("a is 2\n"); ...
[2 replies] Last: The return keyword calls the end of a function that has a return value... (by Dudester)
Return 0
 
#include <cstdlib> #include <iostream> using namespace std; //funkcijos int a(); int b(); int c(); int d(); int e(); int f(); int g(); int h(); ...
[2 replies] Last: Thx , that solved my problem (by m4k4v3l1)
About null
 
Sir what is null.what does it represent in c and c++? Is it a keyword or identifier ? What value does it contain ?
[2 replies] Last: Actually, the value of NULL is system-dependent. 0, however, is guaran... (by helios)
by Vector
Visual Studio
 
Im wondering if Visual Studio can complie assembly code. As far as i know they can do C#, C/C++, and JAVA.
[1 reply] : You can include asm in your C/++ source, but it's generally simpler to... (by helios)
by man156
release
 
how i can release my programme after finishing it
[7 replies] Last: Yes... Team System. Nothing like riding a mule. Could it be they do... (by helios)
Do While Loop problem
 
When I tried compile the Do-While Loop tutorial program, the compiler (CodeBlocks) writted: #include <iostream> using namespace std; int main() { ...
[2 replies] Last: Ok :) Thanks! (by HeatMan)
STL and Vectors
 
its been about a year and a half since the last time i did any real c++ programing and could really use some help getting the ball rolling again! I need to f...
[1 reply] : Yes, you should use vector.push_back() to insert the #s...also, you sh... (by firedraco)
Being able to "Keep Track of.."
 
So i am making this "Number Guessing" game for a school lab. And i need to be able to keep track of how many turns the player has taken. So any kind of ...
[2 replies] Last: Well it seems to work but not exactly. It just seems to stick with ... (by Spinage209)
How To?
 
Hey if you keep getting alphanumeric data as outputs instead of numerical data then what could the issue be? here is an example of: $1.2e+003 instead of $...
[2 replies] Last: By default floating point numbers are output in scientific notation, w... (by jsmith)
Clearing Screen
 
Is there any way to clear screen when writing a console program?
[2 replies] Last: And on Windows: http://www.cplusplus.com/forum/beginner/1988/page3.htm... (by Duthomhas)
How get started Make RPG With C++
 
Hello I am a beginner.I have project for make RPG with C++,but i don't know anything.Someone help me please!!!! Give me sample code of RPG with C++...... ...
[11 replies] Last: Because I ever through it was programmed in Java ... (by HeatMan)
pathfinding
 
Hi I want to make a pathfinding for my strategy game. I know how to make a tile based system but I need something more like waypoints. I dont have anything so ...
[1 reply] : http://en.wikipedia.org/wiki/A*_search_algorithm That page also has... (by firedraco)
Visual Studio 2008 Error
 
I am new to programming and my first assignment is to write the hello world code. However, I wrote the code, which is: #include <iostream> using namespace std...
[3 replies] Last: I was told that you cannot really save to the desktop. But another fol... (by Robot1)
Loop'n Exponential Series Aid
 
I am trying to evaluate an exponential series over a specified range for x: from -2 to 2, with a total of 40 points. (i.e., -2.0, -1.9,.....+2.0) These will po...
[3 replies] Last: factorial = 1; factorial = factorial * n; here you first asign 1 t... (by hamsterman)
by Vector
File I/O
 
hiYa! Im new to reading files with C++! With C im A-OK! Im Reading the same file as before! Only this time its problematic for me to use fgetc(filePointer)....
[14 replies] Last: You know, this site has a reference for a reason. Five minutes ago I d... (by helios)
Memory writing issues
 
Ok, here's what I've got: #include <windows.h> #include <iostream> using namespace std; int main(){ HANDLE hProcess = 0; HWND hWindow; DWORD...
[4 replies] Last: If valueToWrite is declared as BYTE valueToWrite he can't use (void*)... (by helios)
Command that acts like a dice
 
Hello. I recently tried to create a mini program. I wanted to use a command that works something like a dice. If it rolled on ONE, it would activate the comman...
[12 replies] Last: Yeah, but just about everything (well, that isn't really huge) is pseu... (by jpeg)
convert one .cpp file into three files?
 
hey guys i was wondering if i gave someone a C++ program i have written that was in .cpp format if they could help me to convert it into three files... what ...
[2 replies] Last: Pfft... I'll do it. I'll be easier to explain through MSN than throug... (by helios)
Undefined number of values passed to a function
 
Hey all, I am working on developing a small finite element analysis program. Finite element analysis basically involves the discretization of a continuum int...
[4 replies] Last: Thanks for the reply guys. The container class and function with varia... (by farhan3d)
September 2008 Pages: 1... 111213141516
  Archived months: [aug2008] [oct2008]

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