Beginners - November 2011 (Page 29)

menu driven program
 
I need a menu driven program that has the following 5 choices. Output a sum of even numbers Output a table of odd numbers Output their square root Output al...
[3 replies] Last: Sorry, nyaeggy. The include stdafx.h, is used with Visual C++ 2008 Ex... (by whitenite1)
Virtual Devices for emu8086
 
Hi there, I am trying to develop a virtual device for emu 8086. They have a header file for that purpose: /* this header file can be used to implement y...
[no replies]
How do you clear screens?
 
I would like to clear a screen without using the System("CLS") code. Ive heard that people can replace the "CLS" command with something malicious. Also,t...
[2 replies] Last: Ive heard that people can replace the "CLS" command with something ma... (by Moschops)
by sito72
trouble with the very basics of ANSI C
 
Hi All,at the beginning I would like to say that I am completely new to programming I'm having a lot of trouble with the very basics of ANSI C , I need to do i...
[1 reply] : Post the code you have done and ask specific questions about it. You ... (by closed account 1vRz3TCk)
by moot1
ceasers cipher (1,2)
 
this is my code so far i want to make it encrypt the cod by move the letters 2 spots to the left on the alphabet how do i do this.i want to make it simple. #...
[25 replies] Last: Never mind I get it So I guess it's a "moot" point! 8^D Yes, criti... (by cnoeval)
Simpson rule problem
 
I have to develop a program to implement the Simpson rule. I have been working on it all night and I can't get it right. Below is my most recent attempt. #in...
[1 reply] : for(int k=2; k<(n-1); k+2) { double y = a+h*(k); s=s+2.0*function(y);... (by Breadman)
switch
 
can we declare a variable inside switch block and if we then how
[3 replies] Last: Then you would have to declare the variable prior to entering the swit... (by closed account 1vRz3TCk)
Returning from function
 
I am trying to return from a function when it figures out there is nothing in a list. What is the best way to do this?? Here is my function string Circlist...
[6 replies] Last: i see i see. Thanks. (by Ramzi89)
arrays and functions
 
Hello, this is my first time posting a question on this website. I have read the tutorial on arrays and functions , but I am still having a problem with writing...
[no replies]
Issue with linked list and file IO
 
Hi, I'm having a lot of trouble understanding the very basics of a linked list in c++. Can't find a lot of examples about saving file parameters in a linked lis...
[1 reply] : Hi, I'm having a lot of trouble understanding the very basics of a li... (by codekiddy)
Help with network game - socket programming /w c++
 
I managed to find this 2 files from this web: http://www.linuxhowtos.org/C_C++/socket.htm I need to create a network game using socket programming. For exa...
[1 reply] : needed some divine guidance... (by Tampopo)
Date input
 
Hey all :) If i have to input a date, lets say 11/12/08 into separate int's, how do i do that? Please help :o I tried to get separate 2 char arrays putting a ...
[3 replies] Last: ifstream in("input.txt"); int d ; char s; for(int i... (by award982)
Help with swap/pointers
 
...close
[4 replies] Last: bump, any other input? (by basedmod)
Reverse Linked List...
 
I wrote this for the to reverse a linked list,to have the parameter point to the end of the list and rearrange all the nodes without creating or deleting any no...
[3 replies] Last: hi hentaiw, I've found my old liked list in my Recycle Bin, you may fi... (by codekiddy)
by velcro
How to create an array with string of characters?
 
Our assignment is to create an array that will hold strings. The problem is that we haven’t gotten to the Strings chapter yet. (We’re on one-dimensional arr...
[2 replies] Last: @computerkazi Thanks for your help. Your code works perfectly. It'll ... (by velcro)
help figuring out if I wrote a good program
 
Ok, so i discovered c++ 4 days ago. IT took me a day to get the compiler, then that night I did the "hello world program", then I made a very simple code that f...
[12 replies] Last: ok so i compiled a huge page of different problems testing every diffe... (by realfuzzhead)
Problem with password code! Help!
 
Hey I've been writing this bs program to reteach myself C++ and I can't seem to figure out how to assign an initial, changeable value to a private variable. I ...
[11 replies] Last: Is there a benefit to doing this besides making the program more orga... (by Alrededor)
Need help combining 2 lists into 1 new list. Almost there
 
I am trying to combine list1 and list2 into newlist but am having a few errors. After these 2 lists combine, their values will be zero LinkedList catLis...
[1 reply] : try creating list 3 based on the total size of list 1 and 2. then inse... (by computerkazi)
by kbpud8
Assignment Help
 
Hey all, completely new to all of this and really needed some help on my one assignment. Assignment: Write a program that asks for a loan amount, the number ...
[14 replies] Last: here you go... #include <iostream> using namespace std; main(){ ... (by computerkazi)
How to add a sum of the total amount of pay in an array?
 
Say, I have my calculateSalary() and it is able to print out each and every staff they have in the array. How can i implement a function to add all of the staff...
[7 replies] Last: I solved it already. I just need to code this in my main.cpp int tota... (by Tampopo)
November 2011 Pages: 1... 2728293031... 65
  Archived months: [oct2011] [dec2011]

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