Beginners (Page 54)

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 names...
[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. ...
[no replies]
Roguelike rpg
 
Key: # = wall @ = player M = Mountain W = Water T = Tree w = Random weapon B = Bank D = Door...
[3 replies] Last: For starters, the map is 21 down by 48 across, and not 100 by 100. A... (by Softrix)
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; ...
[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 ask...
[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 Expla...
[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 num...
[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 st...
[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/tut...
[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...
[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...
[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 c...
[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...
[20 replies] Last: Yes, in the right way you should use 'index'. But just a luck that you... (by lsk)
Bot Path and Controller Interface
 
I know how to create your basic programm that compiles as a CLI or exports and/or saves data to a .t...
[3 replies] Last: Maybe better to google about your device's LCD and how to display on i... (by lsk)
nested for loop isn't initializing my char[]
 
When my code runs through this loop I made to compare two strings it doesn't initialize my char wit...
[2 replies] Last: don't know why i didnt see this. I may have to rethink my for loops fo... (by ultratoke)
for loop string Compare program.
 
So I am making the game called mastermind. It's simple you have the computer create a code that the ...
[1 reply] : You used && temp != 'x' for what?, is it always give you FALSE ?... (by lsk)
Lining up Data
 
Lines 220-233 are outputing data in the two rows like xxxxx xxxxx xxxxx xxxxx and so ...
[2 replies] Last: This works perfectly, thank you so much for your help! (by jynx678)
How to create an array of c style string?
 
Hey,guys, I just read from a textbook saying that you can actually create an array of c style string...
[7 replies] Last: To helios, Yay295 and keskiverto: Profuse thanks to guys! Your replies... (by glenjoker)
What does this error mean?
 
I am getting a really annoying error telling me that I need a ";" where I shouldn't. The exact error...
[11 replies] Last: Oh fantastic, thank you so much everyone! I've got it working!! (by VisuAlly)
string from user input
 
how could i make it so this works on a user inputted string instead of 'test string' #include ...
[10 replies] Last: how can i get my code to get input and print output for that fucntion.... (by kzaiter)
Pages: 1... 5253545556... 82
  Archived months: [jun2014]

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