General C++ Programming (Page 60)

wrong output by using argc and argv argumnets
Hello friends I have written a program to calculate delay between nodes using link. Code: //sim...
[1 reply] : print out argv and argv (or read the documentation on the main funct... (by Cubbi)
Using "while loop" for factorial
I need to write a complete program using "While Loop" to calculate 1! to 12! using just "int" variab...
[2 replies] Last: #include <iostream> #include <iomanip> int main() { const int MI... (by JLBorges)
infinite loops from input validation.
First off let me apologize for any misconceptions I may have or mistakes I may be making. I am new ...
[2 replies] Last: Thanks for the help, worked perfectly. (by Jloc707)
Hey guys messing around with a stat calculator and Im having an issue or how to approach my permutat...
[2 replies] Last: If you're going to do this the simple way, which is compute N! and com... (by Yueeng)
Debugging the classes
I am making a bank account program using classes. I have defined the classes so far. Just want to kn...
[1 reply] : Well, the return statements in the void functions are unnecessary. Wh... (by Peter87)
Equation of a Projectile - Jumping
I am working on a program that needs an object to jump, I have been using this piece of code to make...
[no replies]
writing program that read 4 integers from a file.
anyone can help me in solving this question please . Write a program that reads four integers fro...
[5 replies] Last: This forum is not for getting fully-written code that you can plagiari... (by LB)
Bottle neck in A star algorithm
Recently I am learning a path finding algorithm, actually I have learn BFS around 2 year ago but do...
[7 replies] Last: Oh yeah, I just realized that That process takes a lot It produces si... (by rmxhaha)
Function Keys (F1-F12) Encountered a logic bug
Hello again, I was developing an exercise program for myself (note: not a project in school) to e...
[5 replies] Last: My next problem to the above code solution is that how should I Echo ... (by vladeoff)
How to emulate graphics cards?
I'm currently emulating a VGA graphics card by plotting a pixel in 3 stages (pixel collection from g...
[no replies]
by AceK
Developing a cellphone contacts backup application
hi there, I am currently developing an application for backing-up cellphone contacts to a computer. ...
[4 replies] Last: You are making a lot of sense. I guess I have to pre-select a few cell... (by AceK)
Root being changed?
Hi guys, ive been working on a BST and during insert, the root seems to change for no reason that I ...
[1 reply] : (by ne555)
Which is more efficient in functions? Returning values or using pointers to redefine variables passed as arguments?
Not much to say other than: Which is more efficient in functions? Returning values or using pointer...
[7 replies] Last: Sorry, re-assigning, changed post. (by exitcode)
i need your help to write this program ..
anyone can help me to write this program please .. Write a program that prompts the user to input...
[4 replies] Last: do you mean instead of writing int seconds ; int minute; int hour ; ... (by baraa dandachi)
Error: No constructor could take the source type, or constructor overload resolution was ambiguous
i am writing this bank accounts program using structures. i haven't implemented the function before ...
[1 reply] : Line 33: void read_accts(BankAccount, int &); Line 116: void ... (by MiiNiPaa)
Quick question.
[1 reply] : What do you mean by call a file from a function besides main() Files ... (by MiiNiPaa)
What are all the different ways objects interact with functions?
I am preparing for an exam, and I am being told there will be, "1 multiple-choice question about rea...
[1 reply] : Objects can take function pointers as a method or constructor paramete... (by MiiNiPaa)
strange behavior with pointer arithmetic
The first example I show below makes sense. We are defining an array of char pointers. Thus, the cha...
[7 replies] Last: Hey @johnmerlino As guys have pointed, this is a memory leakage pro... (by Yueeng)
Bank Accounts program using structures.
I have an assignment to write a program using structures, getting input from a .txt file and output ...
[1 reply] : Either move your function declarations after your structure declaratio... (by NT3)
Pages: 1... 585960
  Archived months: [feb2014]

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