General C++ Programming - October 2012 (Page 31)

Simple calculator in C++?
 
ok so i have to make a simple calculator in c++ ,the problem is that you can take only one input , like a line e.g "3+7" or "3/7" or "3-7", and the program has ...
[3 replies] Last: I would use a string + getline in C++ code. I see scanf as the C way t... (by andywestken)
Matsuoka Neural oscillator
 
Hi all, I am doing a research topic related to robotics. Currently I am developing a C++ code to generate torque output for the legged robot. Matsuoka Neura...
[1 reply] : Nevermind, I got it solved! One of the essential part of the Euler's ... (by yan99033)
Another looping problem.
 
Same program as before. Here, my problem is that the "Birthday" statement doesn't appear and skips. The 'do you want...' statement appears right after 'Year-Sec...
[1 reply] : also, when you proceed to the next loop, after entering "y", there is ... (by Genelee)
Suggestions/Optimizations?
 
Heyy rrybody, Another post about my window manager if you saw my last post I was wondering if any of you had any suggestions or optimization you could tell me ...
[1 reply] : Any constructive criticism would be nice :p (by Angeljruiz)
GUI
 
I am a begginer, but I figured that people that answer on here might be more (or now that I think about it less) likely to know this. I downloaded NetBeans rece...
[2 replies] Last: Agreed (by Stewbond)
Virtual Base Classes
 
Can someone explain how virtual base classes are used to solve one of the problems of multiple inheritance? And which problem do they solve?
[no replies]
To all VST plugin developers, a request for your knowledge!
 
Dear Plugin Developers, I am a university student in the process of writing a thesis. It relates to how small-scale audio software projects face unique chall...
[no replies]
Having some trouble with array of lists
 
Basically, it's throwing an error at the for loop for(int i = 0; i < gSize; i++){ cout << "Starting vertex :" << i+1; list<weights>::iterat...
[4 replies] Last: Hahah, wow, I'm sorry, I just realised that it was graph , index comes... (by kieshwa)
Urgent C++ Help needed!
 
I need some help with my program due on Monday!! These are the requirements for the assignment: The assignment is to write a computer program that will add 1/3...
[6 replies] Last: I'll see what I can do. Thanks. (by chorkor4)
Octal
 
Program to convert octal number to a binary number... int main() { int oct_dec,(int i) int result = 0; int n = 0; int number = 0; if (i < 10) ...
[5 replies] Last: I found this: http://groups.engin.umd.umich.edu/CIS/course.des/cis40... (by TheIdeasMan)
Library graph incidence matrix
 
Anyone know of a library in C + + graph matrix of incidence. boost, lemon and leda has no such representation
[no replies]
Function issues
 
Hello everyone, hopefully this is a quick fix. I ask the user a question, and they need to type Y/N. the function detects which they choose, and returns it as ...
[8 replies] Last: Sent the full code over PM, its a bit long but hopefully you can get t... (by Reciever80)
SetConsoleTextAttribute
 
Hello, I am trying to set some text color in my console dungeon crawler. However, when I attempt to display the map, after about 6 times the Text color fill...
[no replies]
Decimal
 
Program that would output the decimal number of the octal number you have entered. This code is working but it is not correct :/ int main() { int i...
[7 replies] Last: http://www.cplusplus.com/reference/iostream/manipulators/oct/ For exam... (by LB)
by luna1
C++
 
Hello I need some help with c++. I need to write a program that promts the user to enter a number between 5 and 14. If the user enters a number between those...
[3 replies] Last: It's a good start. int (i I think you mean: int i; You need to a... (by LB)
by c3azy
HELPPPPPPPPPPPPPPPPPPPP ASAP
 
program shoud print 1. the age of the person in years 2. the day of the week on which the persons was born 3. The sesaon in which the person was born #...
[1 reply] : [quote=c3azy]program shoud print 1. the age of the person in years 2.... (by LB)
Inheritance - Unable to Run Parent Methods
 
Hi all :) My parent class, Course, has the method addStudent(Student s). My child class, BetterCourse, inherits from Course. Every time I try to run BetterCo...
[7 replies] Last: I've always wondered, why is it even legal to have a function declarat... (by LB)
Problem with variable type extern const
 
I have this on a main program provided by the professor and the spec states it should not be modified. #include <cstdlib> #include <iostream> using nam...
[6 replies] Last: I will only agree with cire's first statement, because I tried it. it... (by mendozae)
Please please help me out? My program won't compile.. I'm so confused
 
I had an assignment from my professor in which I have to build up the code and make it work. I have finished my code and it won't compile, reason being that whe...
[1 reply] : 1. Edit your post: Remove all the code, then copy and paste it again... (by webJose)
Strange runtime Error
 
Hello, I've been trying to debug this code for some time now and I can't figure out exactly where it's breaking. Here's the execution so far: #include "myqu...
[7 replies] Last: The issue has been fixed. At the end of execution, the clear() functio... (by Woody1193)
October 2012 Pages: 1... 2930313233... 50
  Archived months: [sep2012] [nov2012]

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