Beginners - July 2014 (Page 15)

Linked list
 
Whats wrong with my code plz tell me it throws exception and stops // Linked List.cpp : Defines the entry point for the console application. // ...
[2 replies] Last: Thank you stewbond ... (by MRKSalman0349)
Quadratic Formula Program
 
I have to create this program for class, a quadratic formula program that will output three results using an I/O file, "The roots are complex," "The roots are r...
[11 replies] Last: "there are other ways to get the square root of a number. Also, you ca... (by Michael37)
by swivel
Help Generating Unique Numbers
 
I need help creating Unique numbers in my random number generator. Each line of ticket should only display the a number once. Can anyone give me a hint as to ho...
[4 replies] Last: Thanks Cire. I will give it a try! (by swivel)
string question
 
what's wrong with this string?: #include <iostream> #include <cstdlib> using namespace std; string my_string; int main() { int k; //to ...
[2 replies] Last: yep! #include <string> did the trick! thanks for the help! (by sebaethefish)
Strings in Alphabetical Order
 
Hello. I am trying to create a program which will sort strings, input by the user, into alphabetical order. So for example, if the user inputs Henry, Derik, Ste...
[10 replies] Last: Sorry for the late reply. Thank you, it works now. (by Bogeyman)
This is very bothersome...
 
I have been working with this code on my own for a whole day and still confused on why it doesn't work.. So what I'm trying to do here is determine whether a nu...
[2 replies] Last: Now that was funny XD. Thanks for your help. (by NeonOrange)
password program help!!
 
hello folks, i was trying to make a password checker program,the program should do this: 1)get the password from the user. 2)checks if the password is more t...
[11 replies] Last: Its not down to the type of loop you have used. I will explain bet... (by Codermik)
not getting expected output; array and fxn
 
I'm expecting to get 6 as a return value but I keep getting -1 ?? #include <iostream> using namespace std; int out_of_order(int a , int size); const int amo...
[3 replies] Last: got it. I had commented out the cout after the call. Thanks for your... (by burton1995)
by zdzero
Allocate virtual memory and run code in it?
 
I'm 50% sure that I don't know what I'm doing. Let's say I have some executable code in some file. If I want to execute that code I can do this: HANDLE ...
[no replies]
Roguelike rpg
 
Key: # = wall @ = player M = Mountain W = Water T = Tree w = Random weapon B = Bank D = Door A = Anvil a = Ax p = Pic Ax f = Fishing Pole and the...
[3 replies] Last: For starters, the map is 21 down by 48 across, and not 100 by 100. A... (by Codermik)
by xx1182
Input in while loop
 
I want to have asyncronus input on a loop? How can i make that? To Be clear: int onplus = 0; string lel; while(1!=0) { oneplus++ //here cin >> lel...
[7 replies] Last: A fork is different than a thread. Fork is easier to handle yes, but ... (by discofire)
Trying to exit program.
 
I just need a little help with my code. If I execute the program and it runs successfully, it asks me if I want to try the program again. It has no issues ex...
[5 replies] Last: use the getchar(); function in the cstdio header file instead of syst... (by mutexe)
Convert decimal fractions to binary (using Mathematics format)...
 
Write your question here. Can any one tell me how to convert decimal fractions to binary. Pls Explain. I want to only step in Mathematics format. Not a Pro...
[1 reply] : Maybe this helps? http://stackoverflow.com/questions/4987176/how-do-y... (by wildblue)
sorting
 
I am trying to sort numbers entered from largest to smallest. and i did just print the largest number entered , and the rest are left out can anyone help me ...
[3 replies] Last: you should use bubble sort. you can make a function to do that. for ex... (by bigsoft)
any recommended problem statements?
 
I am currently learning the basics, however, I would appreciate if people could post some problem statements that I can attempt to code in Eclipse. Thank yo...
[2 replies] Last: check Hackerrank https://www.hackerrank.com/ (by shadowCODE)
I'm having a few problems, running my first program.
 
Dear CPlusPlus.com, I have followed the C++ Language Tutorial (http://www.cplusplus.com/files/tutorial.pdf) but, while writing my first program (a test/poll/...
[1 reply] : i ended up with a few problems. ? Can you be more specific please? ... (by mutexe)
Trying to write code to convert mp4 files to mp3
 
So I'm extremely bored and want to begin working on making a program to convert audio files to other types of audio files. But I don't know where to start, how ...
[4 replies] Last: Researching as in number two, thanks for the help I'm gonna do some re... (by liquifiednate)
Delete dynamic memory
 
Write your question here. void main() { clrscr(); int *ptr; int n=20; ptr=new int ; ptr =7; ptr =9; cout<<ptr <<ā€ ā€œ<<ptr <<ā€ \nā€; delete...
[3 replies] Last: For what it's worth: http://codepad.org/Ji7cp5oL Btw, try converting ... (by NoXzema)
changing case for first and last letter
 
i need ThE FirsT AnD LasT letter of every word to be uppercase and the rest lowercase but function convertFirstAndLastLetter only does the first and last of the...
[19 replies] Last: i cant figure it out still i have been going at this for 12+ straight ... (by kzaiter)
Coding to find the median of an array (1,2)
 
Hi! I'm trying to make a program that stores numbers in an array, sorts them, and prints the amount of numbers entered, as well as the median of the numbers en...
[20 replies] Last: Yes, in the right way you should use 'index'. But just a luck that you... (by lsk)
July 2014 Pages: 1... 1314151617... 43
  Archived months: [jun2014] [aug2014]

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