Beginners (Page 75)

by SCB3
Can anyone go through my code? (regarding arrays) (1,2)
 
So, I'm pretty much done making my Minesweeper game project and just wanna go through a few things ...
[22 replies] Last: ^^sorry, sometimes I was away whilst I replied. Anyway, complied it ... (by SCB3)
do-while loop not looping
 
The code runs fine in regard to the functions and calculations. However, it doesn't seem to be doing...
[5 replies] Last: That did work, but it's not the only problem. Remove line 159 and mov... (by coder777)
by prhray
Char string within a structure not working
 
I defined a character string in a structure, but it does not work properly. I get the following erro...
[1 reply] : In C you can't give values to the members in the struct definition lik... (by Peter87)
Create a program that computes all prime numbers less than max number
 
I have to create a program that computes all prime numbers less than the max number by storing the...
[no replies]
by conlan
Ohm's Law Program with data sets
 
Hi all I am new to c++ as I am taking a entry level class. We have to write a program using ohm's la...
[7 replies] Last: Here is what I have so far. I cannot seem to figure out how to limit t... (by conlan)
unordered_set hash specialization
 
Hello! I am specializing the hash function of std::unordered_set template class, but I want to us...
[9 replies] Last: That is helpful, Thanks! I will use std::hash. (by Gonza 565)
'Date structure' question
 
Hi. I am studying 'Data and structure'. In this example I understood the structure of " printmovie (...
[2 replies] Last: Thank you now it is much clear to me. I like the wacky way you explain... (by Flampard)
by a0123
Increment/Decrement
 
Hi, i would like to now why is the returned value 36 and not 37? Thanks for the answers :D int...
[2 replies] Last: Thanks (by a0123)
Compiler Error
 
I'm doing a school assignment and I'm having a small error issue. I have too CPP files and two heads...
[3 replies] Last: So how do I move through all the units in the node in ToString then? (by ManlyMartin)
How many prime numbers between 1 - N
 
I'm new to the whole programming stuff. If anyone can help me on this that would be awesome. I have...
[4 replies] Last: I have to 1. Create a void function to get the user input 2. Create a... (by steph2015)
string
 
what is the problem with this code???i want 2 find gow many space int my every name?? #include<iost...
[6 replies] Last: Sorry, but I don't have an obligation to check your code, nor anything... (by TarikNeaj)
by sha92
Breaking the program!
 
Hello, I need to find the largest positive integer, that I can get from this program. That means ...
[2 replies] Last: start at MAX_INT and work your way back? Edit: or perhaps UINT_MAX? (by Texan40)
Using a structure inside another structure
 
I am trying to create a program that uses two structures, one for the date and one to list events. ...
[5 replies] Last: Thanks FG, I forgot to change that. I am using structures since I hav... (by JMac618)
by Aideux
rand() function only generating 42
 
I'm trying to create a simple game in C++ that generates a random number and, when the user guesses ...
[4 replies] Last: Awesome, that worked! Thank you so much. (by Aideux)
by Nillen
My loop doesn't increment
 
With this little code, I have 2 issues, both surrounding the loop of mine. I have a list of studen...
[4 replies] Last: Oh my god... Thanks again... I guess I was too used to using the assi... (by Nillen)
If statememt true, how to stop program without restarting?
 
Its a simple text based game. Program runs fine. but I want it so when my if statement is true, it s...
[8 replies] Last: Thanks it is getting hard to keep starting over over. Ill try that ou... (by daemonhall)
c++ calendar
 
I am having trouble with coming up with source code for this :( Speci fications: 1. Calendar is me...
[1 reply] : http://lmgtfy.com/?q=c%2B%2B+calendar (by TarikNeaj)
Cannot include 'type_traits'
 
Hi Guys!. I'm using VS 2008. I'm getting a build error saying fatal error C1083: Cannot open i...
[2 replies] Last: type_traits is a C++11 library. (by fg109)
by davidm
sort code
 
Write your question here. void mySwap(int arr ,int place) { int temp=arr ; arr =arr ; arr =t...
[1 reply] : Lets look at one thing first: void mySwap(int arr ,int place) { int ... (by keskiverto)
Trouble with classes (for experts only)
 
Design a class point that has x and y coordinates as data members: Include the following member fu...
[3 replies] Last: Let's walk through the code starting at line 119. * You declare a rec... (by tscott8706)
Pages: 1... 7374757677... 90
  Archived months: [mar2015]

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