Beginners - March 2012 (Page 16)

static variable
 
What is the use of static variable? Is it necessary when programming games?
[2 replies] Last: http://lmgtfy.com/?q=c%2B%2B+static+keyword (by S G H)
array help!
 
so heey guys again.. /* 6-60 Coding A study of cryptography and its growth as a science can s...
[6 replies] Last: Yeah, sure you can. It's your array. :-) (by MrHutch)
Help requested for programming functions.
 
I have a very basic understanding of how to code functions. I understand that you must prototype th...
[9 replies] Last: Thank you to everyone for the help. (by dsustudent59)
by Spock
I have an error message I can't resolve.
 
I'm creating a little app to calculate the amount of hours in a given amount of years. I've concate...
[8 replies] Last: You can use net beans or Xcode. Both have in program running windows.... (by ui uiho)
by Nido
Square root without using math.h
 
I am trying to find square root of number without using math.h library but i am still unable to find...
[7 replies] Last: Yeh... that doesn't work. Try 15 with that and then with mine. Urs ... (by ui uiho)
Alternitave for GOTO?
 
OK so I am a beginner to programming and trying to figure out how to not use the goto code as i unde...
[5 replies] Last: Thanks guys I understand it now. (by lukemills2010)
by azess
sorting linked list
 
Hi all I am writing a program that creates a linked list of 5 players and would like to sort them...
[no replies]
by dusk
one choice not working and another choice being activated twice per use?
 
this is the one that is happening twice/three times when you type the choice once if (choice == 'st...
[no replies]
Copy constructor, returning pointer
 
Hi guys, Need a little help with a polynomial class. The function "Polynomial operator +(Polynom...
[10 replies] Last: toomanystars: To sum it up, I don't see a problem with your construct... (by webJose)
by nayabM
pplzzz look for the error in my code!
 
#include<stdio.h> #include<stdlib.h> #include<time.h> #include <conio.h> int main(void)...
[4 replies] Last: [quote=man] c The usual skip of leading white space is suppressed. T... (by ne555)
by Spock
Cookie Monster 'Virus'
 
I've written the Cookie Monster program to test my memory on what I've learnt so far. However, when...
[12 replies] Last: Without adding any extra code the best way to keep your program open i... (by Naureg)
hashing with linear probing(if it collides)
 
what is the problem with my code? pls help... int ss; // global variable int hash::hfun...
[1 reply] : code tags please!!!!!!!!½! + explaining what the code should do if we... (by Mrcerimo)
Problem with functions - first attempt at C++
 
Hello - This is my first attempt at writing a little program in C++, a simple guess-the-number g...
[6 replies] Last: "For example, BeginGame() has most of the code, instead of Main();I k... (by Mrcerimo)
My Problem In Jacobi Iterative Method
 
Hi All.I'm Very Very Glad To Join This Lovely Site & Speaking With You. In This Term At My Universi...
[6 replies] Last: Can you be more exact? I don't really understand what are you saying i... (by CosminNTG)
Car platenumber
 
I have to make a programm with C++ which recognizes the car palatenumber. Normal platenumber for ex...
[5 replies] Last: You can do it exactely as you can acces a vector-component, by it's in... (by CosminNTG)
Gaming???
 
so im pretty new into C++ but ive learned the basics and i have absolutley no idea how to write even...
[7 replies] Last: There's source code out there for simple games. Download it, print it... (by pakupakuman)
Learning C#?
 
Ok so I keep hearing good things about C#, so I figured I'd give it a shot. Know of any good sites, ...
[3 replies] Last: http://sharpertutorials.com/ http://www.csharp-station.com/Tutorial/CS... (by naraku9333)
something weird with setw() URGENT
 
See the following: cout << setw(10) << this->studentID << " " << setw(12) << this-...
[3 replies] Last: fixed, i added setw() for " / " and for the credits thanks anyway (by Tony Karam)
sort integers using if-else
 
I wrote this code to sort 3 integers but I can't figure out how to add a 4th. The program is suppose...
[1 reply] : well....if the number if integer increase, so does if-else statements.... (by SUH)
by nayabM
repeating or exiting
 
a program is successfully built how to add the options of do you want to play again (y/n)
[1 reply] : string playAgain = "y"; while (playAgain == "y") { // your code he... (by Moschops)
March 2012 Pages: 1... 1415161718... 71
  Archived months: [feb2012] [apr2012]

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