Beginners - November 2015 (Page 12)

by Dmytro
Please good example code to classes, it shows the classes and their interaction!
 
Please good example code to classes, it shows the classes and their interaction! Good day!! Tod...
[2 replies] Last: Thank you!! It is a good reference, very good. Really wonderful. For t... (by Dmytro)
int or double??
 
Why double: int linemen_weight = 0; int other_weight = 0; int total_weight = 0; ... Instead of wh...
[1 reply] : With double you will have a more accurate number. double: 1 / 2 = 0.... (by coder777)
Comparing Strings and Substrings
 
Copy the following data and paste them in a file named Payroll.txt (code#salary). 1#23400 4#1700...
[1 reply] : > But I dont know how to compare strings in a way and loop it how the ... (by JLBorges)
Sorting Array then place each step in 2D HELP PLS!
 
Ive been stuggling with this question for a week now, I'd really appreciate if someone helped me fig...
[2 replies] Last: Thanks alot! It worked! Thanks again! (by KimPossible)
Shortest distance
 
I am writing a program to find the shortest distance from two separate points on a graph. After a bi...
[1 reply] : I'm not sure what you are trying to do in your algorithm. Nowhere in y... (by Gaminic)
What should i read next?
 
I started learning C++ a couple weeks ago so I'm still starting out. I got Deitel & Deitel's C++ How...
[5 replies] Last: Thanks all of you :D (by GruntBassel)
by osur
error: "Node" has not been declared
 
Good evening, I've been trying to write a linked list code for a while today, where I have two stru...
[2 replies] Last: And to think I've been struggling for the past few hours for that :)..... (by osur)
print_out
 
Thanks for the help.
[17 replies] Last: @espionage1 You wrote: why does your code ask for a number and lat... (by whitenite1)
Issue with else part of the statement
 
What the program is supposed to do is upload barcode, name and price of information from the txt fil...
[10 replies] Last: You did not put the code I gave you into your code correctly. whi... (by mgoetschius)
About "auto"
 
Is there any reason to use the storage class auto ??
[2 replies] Last: Thanks man.. Thanks (by abtahi tajwar)
Pseudo-code algorithm
 
i need help writing a Pseudo-code algorithm for this basic function code #include <iostream> ...
[1 reply] : > writing a Pseudo-code algorithm for this basic function code that's ... (by ne555)
by ottob
Incorrect output
 
I am creating a car simulator program and the output for the the fuel level is correct. But the mile...
[1 reply] : > It should decrease the FuelGauge object’s current amount of fuel b... (by ne555)
trouble finding the minimum value in a array
 
Hello I am having a issue with finding the lowest value in a array. For some reason it keep comes...
[3 replies] Last: thanks guys i appreciate the help . (by ryanmac75)
How can a char be used as a boolean?
 
I've seen code like this to convert all chars in a string to uppercase: for (int i=0; str ; i+...
[2 replies] Last: Ahh! I had forgotten about the null value at the end of the string. Th... (by anarelle)
Program crashing upon variable input
 
I'm trying to make a program that enables you to input an indeterminate amount of numbers, then, whe...
[2 replies] Last: After fixing my very foolish grammar errors, it works! Thanks so much... (by Zephyre)
question: regarding gdb
 
hello programmers, i am new to programming, and i have this problem regarding using the (gdb). so...
[1 reply] : ¿can you post your session? I mean how you run gdb, what parameters y... (by ne555)
How do we seperate digits by adding space between them?
 
Were supposed to type in a number and the program should output the numbers separately and display t...
[10 replies] Last: That seems to work. Here's how I did it, using one rather than two lo... (by Chervil)
Some questions
 
Hello, I'm quite confused by pointers and references being passed/returned to a function . ...
[2 replies] Last: Thanks btw abstractanon, for the answer to my other question :) it he... (by closed account N8RzwA7f)
Array Assignment
 
Hey Guys! I'm new to writing programs, and I'm having trouble with writing this function and getting...
[1 reply] : Lines 10-17: You need a loop here to iterate through the id array. (by AbstractionAnon)
November 2015 Pages: 1... 1011121314... 53
  Archived months: [oct2015] [dec2015]

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