General C++ Programming (Page 2)

Shell Program
I need help figuring out how to read user input into the exec() function. This is the code I am w...
[4 replies] Last: What did you not understand from the link I posted? (by admkrk)
The task is to do a program in C++ that you have to put 3 angles for the triangle. If all angles ar...
[11 replies] Last: @LB ..sorrry i LAST week joined so didnt knew ab categories. so i wil... (by imii)
A more flexible "Find" Program
This one is a long one. I would greatly appreciate if someone could suggest an alternate function, ...
[1 reply] : Also, I totally forgot that CPP recognizes spaces are characters. SO I... (by cpp300XPBoost)
by JJ2828
Bubblesort Help~~
int main() { using namespace std; int a = {9, 99,1,44,6,4}; bubblesort(a, ...
[4 replies] Last: Any one can figure up for me what the loops mean?? (by JJ2828)
by mCplus
Physics program in C
Need help with this program in C please The distance of object (p) and the distance to the image ...
[2 replies] Last: #include <iostream> int main() { // get p from user // get q... (by kemort)
by JJ2828
Simple Question
Is call by value parameter cannot be changed by a function call?
[14 replies] Last: It's simpler than you might think: int addtwoNumbers(int a, int b) {... (by kemort)
Help with quaternions to have model look at point.
Hi I'm trying to figure quaternions. If I have a Point Vector(4,3,1) with a Quaternion for exampl...
[1 reply] : Try using matrices. Write your own matrix class or download? Directin... (by kemort)
Pathfinding problems
Hello I I'm trying to implement basic pathfinding to my tile editor program. This is the first time ...
[1 reply] : ? (by WAKS)
Tower of Hanoi
Please Help me. I want to make a program to solve tower of hanoi. But not using recursion and binary...
[2 replies] Last: Yes. But you can put a limit until nine disk only. help me please. (by beginnerInprog)
How to create a c++ application like calculator... Please Help Me !!!
[5 replies] Last: I assume you mean something like Visual Studio (by kemort)
by Kmac83
Hello all! I am very new to C++ and I am very confused on this assignment that I have. I have rea...
[9 replies] Last: @LB okay thanks for telling me. Currently I am being taught on Turbo... (by Vibgyor)
Midterm help.
Create a the world’s simplest calculator. The program will add together all integers entered in b...
[3 replies] Last: @ForTheReallys Corrrrrrrrrrrrrect! :D (by Vibgyor)
array sorting
there is how many ways to sort the arrays?
[3 replies] Last: If you want to get info on bubble sort, try searching. There are tons ... (by MiiNiPaa)
grep program
How is this program supposed to work? #include <stdio.h> #include <string.h> #define MAXLI...
[no replies]
Program crash.
I'am trying to make program for lowest common denominator end when i enter 2 numbers it crashes.. Wh...
[6 replies] Last: @MiiNiPaa @ThePopivanov I'm pretty sure you can't find the lowest comm... (by integralfx)
I already have all but it has to accept negative numbers but I don't know how: #define _CRT_SECUR...
[1 reply] : check if it is negative, if it is invert it and print a - at the end ... (by Gamer2015)
Please help!! ***
Hey all, New to programming here and doing a project for class. Is it possible to get an answe...
[5 replies] Last: Store averages for all students in container for later retrieval: std:... (by MiiNiPaa)
How can I exit a for loop without the use of break?
Hi, I've written code to swap integers in multiple arrays and I was wondering is it possible to exit...
[1 reply] : (by kemort)
queue cypher
You must read the COMMAND LINE* for the "shift" value. It will be in argv ... Example: a....
[16 replies] Last: Who wrote this version? Here's what getline does: http://www.cplus... (by kemort)
Pages: 1234... 25
  Archived months: [aug2015]

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