Beginners - January 2017 (Page 12)

Data Structure
 
Any Good Book or site for learning data structure
[5 replies] Last: https://www.amazon.com/s/ref=nb_sb_noss_1?url=search-alias%3Daps&field... (by closed account 48T7M4Gy)
Converting Fahrenheit to Celsius rounding error
 
I'm trying to write a temperature converter for my class but whenever I put it through testBed I hav...
[4 replies] Last: You will also have fewer "rounding errors" if you use a double instead... (by jlb)
Background counter outside loop
 
For homework I am tasked to write a program that tallies multiple diver scores in a loop. This part ...
[2 replies] Last: Suggest you set up a struct Diver on the following lines: struct Div... (by gunnerfunner)
Need an explanation
 
Can someone explain why this code works string a; a = 1; and not this one ? ...
[1 reply] : It's a good question. The string assignment operator has been overlo... (by Peter87)
Native' has exited with code 0 (0x0)
 
No matter what I try, my console closed too fast with this statement The program ' projectesting1.e...
[2 replies] Last: Generally the reason why <conio.h> is not recommended is because it ... (by Chervil)
Unable to debug
 
after trying to debug, the system said that it is unable to start the program as the system cannot f...
[1 reply] : Hello Andy1222, I see that you are using "visual c++ 2010 express". I... (by Handy Andy)
cin pairs into an array
 
Would like to read in pairs of follows and add them per value: The program runs, but doesn't add an...
[9 replies] Last: The code here looks incorrect: for (i = 0; array <AMAX ; i++) { ... (by Chervil)
infinite loop stops cout (maybe)
 
I think this program is stuck in an infinite loop however i can't find where because when i try putt...
[6 replies] Last: I found the segmentation fault was caused by the incrementing function... (by rngProject)
LINK2019 problem
 
I'm taking my second programming class and I tried to test an exercise our Professor gave us. I type...
[2 replies] Last: Thank you!! Can't believe I missed that! It should work now! Thanks! (by soleilquiles1)
by SVcpp
C related question
 
Hello, I'm trying to understand some code dealing with low-level I/O. I'm unfamiliar of a good f...
[3 replies] Last: I'm unfamiliar of a good forum for C related questions, but if you h... (by gunnerfunner)
Dungeon Program With Questions (1,2)
 
Hi all, was wondering if someone would critique my code? Questions: Is there a way to combine ...
[23 replies] Last: Solved. Getchar in moveplayer function was grabbing new line so i was ... (by MistahMoose)
function help
 
Im just started learning function coding. Complete the print_total() function below. void_pri...
[13 replies] Last: @bird1234 oh yea.. my mistake. Thanks for pointing out! :D @Chervil Th... (by DesmondLee)
Defining a 2D array in a separate file
 
Hi, I am writing a code which uses five fairly large 2D arrays of chars. Since they are pretty larg...
[3 replies] Last: Assuming that there is no other access to (initialised) elements of th... (by JLBorges)
Need help input is wrong
 
I am writing a program where a user enters from a menu and picks how they want to search from the f...
[3 replies] Last: Thank you andy1992 for the advise, I made a few changes from the progr... (by rezy3312)
by tofi
file search mixing numbers before and after the match is found
 
Hi In my previos post I have asked about how to search for number form one file into another ...
[no replies]
array as parameters
 
Hi guys the code I wrote does not do what I thought it would do,I was expecting printRay to print no...
[1 reply] : Simplified explanation to follow: Fixed sized arrays decay to a point... (by closed account E0p9LyTq)
by rjfam
Endless Loop in Nested Do While Loop
 
I get an endless loop if the user inputs a character, however the do/while loop works just fine if t...
[1 reply] : You don't show the definition of income. Assuming it is an int, the p... (by AbstractionAnon)
by Bizzy
Incorrect Double Outputs
 
I'm new to c++ and relatively new to programming so there's probably an easy fix though I can't seem...
[2 replies] Last: Thank you so much! I knew it was a simple mistake that I just couldn't... (by Bizzy)
Software Development
 
Hi guys, I am a new c++ programmer and have covered all the basic and major topics in my c++ book...
[4 replies] Last: Thanks, this was just what I was looking for! (by imohamme5)
HELP
 
Given a set of data for example. apple=$5 orange=$20 watermelon=$22 banana=$24 kiwi=$25 How do I ...
[5 replies] Last: how do I set price criteria You said: with price more than $20 Tha... (by keskiverto)
January 2017 Pages: 1... 1011121314... 24
  Archived months: [dec2016] [feb2017]

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