Beginners - February 2016 (Page 27)

Random digits
 
I'm trying to learn C++ by tackling problems on sites like projecteuler. This happened when I tried to solve one of the problems (problem 2 in particular): T...
[2 replies] Last: Ah, you're right. There is a main function that's outputting the retur... (by tinkerer)
by cbar
Beginner C++ coding
 
hey guys, have an assignment due for a basic program and for some reason it doesn't seem to perform the calculations I've assigned it to when I run it... any he...
[1 reply] : Hey. Please use code tags for all of your code so it's readable - http... (by TarikNeaj)
Need help with calculate the class average.
 
Hi everyone. So I need help with a loop problem. I've tried it about 4 times and have no idea what to do. The problem is: Write a program that prompts the u...
[1 reply] : So... what have you done so far? This is a super simple task that you ... (by TarikNeaj)
by nj1995
vector magic square program
 
Hello, I am writing a program that adds the rows, columns, and diagonals of a matrix to see if they are equal, but for some reason no matter what I input the ou...
[no replies]
WHy is my output so unorganized
 
done
[4 replies] Last: playing around with the code still cant get the dates under the corres... (by chang123)
by tyooo
Bizz, Buzz, Bozz Beginner C++ Program for Class (1,2)
 
SO I am completely new to programming and haven't written a successful code yet, but I was thrown into a programming class with little to no knowledge. I have b...
[25 replies] Last: I have the same exact project due and honestly were probably in the sa... (by forestgumpofc)
Singletons
 
I'm messing just now learning about singletons and was wondering if it is at all possible to change your singleton at all? For example I created a date Singleto...
[1 reply] : You change the values like any other class. Show us how you tried to d... (by Moschops)
C++ Redistributable Install Error
 
I'm a total novice with C++ and I need some help resolving a problem. I'm trying to install a program on one of my PCs that requires the C++ 2010 x86 redistr...
[4 replies] Last: Yes, I did look at system requirements and saw that Win10 is not offic... (by pmokover)
by Smexhy
Interval
 
Hello, I need help guys. My instructor want one exam from me. I need to do program which will: Count only odd numbers from interval <a,b> Border of interv...
[5 replies] Last: I did something, but it won't compile. Well, even if you don't under... (by Chervil)
Compute Min and Max using reference (const int) functions
 
I am writing a code that takes the two values you entered and determines which is the min and which is the max, The only problem is we are supposed to have exac...
[no replies]
SYntax error how to fix?
 
solved
[2 replies] Last: whew did even see tht lol thanks so much silly me (by chang123)
by lalits
Storing hexadecimal value in a variable
 
Write your question here. Is it possible to store hexa decimal value as a string?
[2 replies] Last: Thanks (by lalits)
writing a macro to an array
 
I am writing a code to produce a survey rating a product 1-10 and am stuck on writing a macro to an array, does anyone know how to write it without errors. my p...
[3 replies] Last: ratingCounters = { 0 }; You can use the curly braces only to initi... (by Thomas1965)
Deleting Files
 
Hello, forum. I am trying to create save data in a text file for a text-based game I'm making. I already have saving/loading down, but for some reason I can't d...
[3 replies] Last: Nevermind, I figured it out. ios::trunc was giving me problems, and th... (by white rose)
by tyooo
How do you check for a digit in a number?
 
Well I'm completely new to programming and all but I'm stuck on this last part of my program. I can't seem to understand how I would get it to check this rule. ...
[2 replies] Last: Alternatively you can convert your number to a string and check for a ... (by Thomas1965)
Need help with my loop program...
 
I think the problem is my use of the WHILE loop. I am trying to set it up where the loop repeats until the condition has been fulfilled. I thought I could use...
[2 replies] Last: You should REALLY name your variables better, then again I have the sa... (by rabster)
quicksort issues
 
Hi I'm really struggling with quicksort, to put it simply my code just doesn't work at all. Sorry it compiles and runs but without the desired result and I don...
[11 replies] Last: Thanks! I have created a variable called sizeOfArray and used sizeof(... (by jamesfarrow)
question about Conditional jump or move depends on uninitialised value
 
my program fails when I am running on the linux machine with c++98. anything will be appreciated. ==22511== Command: ./wordcount --track-origins=yes ==22511== ...
[1 reply] : You should type --track-origins=yes before the name of your program ot... (by Peter87)
by tyooo
Bizz, Buzz, Bozz Beginner C++ Program for Class
 
SO I am COMPLETELY new to programming and have been tossed into a programming course this semester. Below I will post the program that I thought would work with...
[7 replies] Last: Interesting comparison of language between here: http://www.cplusplu... (by TheIdeasMan)
counting characters in char array
 
so im suppose to open a file, create a char array and use getline to read lines from the file and put it in the array. Then im suppose to create a function that...
[10 replies] Last: exactly. im just going to turn it in like that, at least ill get parti... (by LATCH100)
February 2016 Pages: 1... 2526272829... 46
  Archived months: [jan2016] [mar2016]

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