General C++ Programming - December 2013 (Page 32)

recursion for reverse a sentence by linked list
 
This program is to print a sentence in an opposite way by putting the world into a linked list one by one. For the print(),it is required to use recursion ra...
[no replies]
create a dynamic array of the fraction object
 
I wrote a program for fraction addition. However I need to input the 3 parts of the fraction into a dynamic array rather than the way it is now. Anyone could he...
[no replies]
by omoe
After learning basics whats next?
 
Hi , I been learning c++ for a week now , I learned methods , loops , pointers , how oop works and some other basic stuff , I wanna learn more but i dont find a...
[2 replies] Last: Pick an API at random and run with it. I suggest SFML (for it's simpli... (by Computergeek01)
by Nata
Strings. help me please :)
 
Hello. I have a little problem with writing algorithm. #include <iostream> #include <string> using namespace std; int main() { string n;...
[1 reply] : #include <iostream> #include <string> using namespace std; int main() ... (by Nata)
self taught project
 
hello all, i recently purchase Serendipity and im having trouble with my code on not wanting to display my total, subtotal and tax rate. i manage to get this fa...
[10 replies] Last: Upx86 it took me a while to see what i was missing which was subtotal ... (by Alex1991)
++i?
 
I'm having trouble understanding why the output is 4... Can anyone explain? To my understanding, this means i = i + i + 1, so i=3... int i=1; i+=++i; cout<...
[5 replies] Last: i = (++i) + i; Does not look like i+=++i; I understand for this... (by belgarionriva)
cannot convert from int & missing default parameter for parameter 1
 
HI ALL, I am developing new project in Qt with existing MFC project . SO in MFC I have a function which uses SYSTEMTime and return CString. example ...
[1 reply] : SOLVED !!!!!.. the know::init_file_version_info was using some boost... (by samprat)
expected a statement error
 
beginner at c++ and im making a checkeres game but i keep getting a 'expected a statement' error on the first 2 'else's any help will be appreciated void ...
[4 replies] Last: You have commented out the statement after the if for some reason. ... (by Mats)
Program ignores my if/else statements when I run it. Please Help
 
Hi all :) Need help fixing code to calculate male and female body fat percentages. Should a switch structure be used? Please show me what I am doing wrong. Here...
[15 replies] Last: no it's not units. read my edit sorry. you will now need to ask for w... (by mutexe)
by Beju
Stubbing standard function - ambiguous call
 
Hi, I need to make a stub for some standard library function, but the compiler gets confused about which function I want to call in my code. I thought that putt...
[4 replies] Last: [quote=MikeyBoy]But wouldn't that then involve having to modify test()... (by coder777)
Arrays
 
Extend part 1 such that the name, and the corresponding sales amount, of the salesman who sold the highest sales are displayed for each quarter. You must not u...
[3 replies] Last: My earlier post: You should instead initialize max to 0.0 and name to... (by doug4)
by rudd
fix my coding, please
 
#include <iostream> using namespace std; int staff_menu(int choice, int item_w, int bil_item, int choice1, double total); float admin_menu(); void main...
[8 replies] Last: staff_menu(int choice, int item_w, int bil_item, int choice1, double... (by MikeyBoy)
How to move characters on screen in C++ (plain) ?
 
Hi all, Can anyone of you tell me how to move a character (an arrow or any other character) on screen using keyboard? I'm actually a beginner and have only w...
[8 replies] Last: All of the libraries used are included with standard C++. conio.h an... (by keskiverto)
Search Function
 
Hey all.. I've been looking for so long trying to figure out how to get this thing to work. All i need to do is ask user to input a name and then it brings out ...
[4 replies] Last: #include <iostream> #include <fstream> #include <string> #include <s... (by Fares921)
Can someone help me with this?
 
Hello I've written a code that request for a password and its suppose to look like this. Sample Output (inputs in bold) Please enter a password: pass6 Passwo...
[3 replies] Last: Hi efffive, I have a question for you. If you can answer the questio... (by aleonard)
Learn to parse , parse to learn , book resources?
 
Hi, I am going on to spend some 8 - 12 months on getting C++ in the toolbox. I have already experience with Perl and also with some C++, but now I would get th...
[1 reply] : Hi, probably the title is misleading. Someone could suggest some mater... (by dalfonso01)
help me! URGENT!
 
i need to submit my assignment by tomorrow and yet i still dont know how to do write this program. the program is converter feet-cm and the loop is username and...
[1 reply] : what you got so far? (by mutexe)
Recursion Questions
 
I am stuck on a question about recursion Two non-negative integers  x and y are equal  if either: Both are 0, or x-1 and y-1 are equal  Write a b...
[4 replies] Last: Ya i was missing but now its Recursive. (by sanddy1911)
by ssstar
how to programming in DCE (Distributed Computer Environment)
 
Hi I want to write a program that: call The function from the client machine. (RPC). I want do this with DCE. Where do I download DCE(Distributed Computer ...
[10 replies] Last: The following command generates a UUID and creates a template file ca... (by JLBorges)
Passing Object by to queue
 
I've been working on a little project and hit a snag. I'm using nodes for a queue and stack class that were created using an existing list node class. I create ...
[2 replies] Last: Ahh thanks, and the error was in my Student file constructor where I i... (by zero117)
December 2013 Pages: 1... 3031323334... 37
  Archived months: [nov2013] [jan2014]

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