Beginners - November 2013 (Page 50)

Where to put this
 
Alright in my game there will be a shop but depending how far in the game you are the shop will have different items i have no problem setting this up but where...
[2 replies] Last: Thanks sorry dumb of me all my other ones are like that anyways sorry ... (by Tristan101)
Memove not working!!
 
I am not getting string copied. i wanted to copy only the first word. but some erroneous output #include<stdio.h> #include<string.h> void main() { ...
[2 replies] Last: Please use code tags http://www.cplusplus.com/articles/z13hAqkS/ #in... (by Yanson)
Why doesn't this work like I want it to?
 
It worked fine when I had each spot on the board it's own string, but when I changed it into an array for other stuff in the code it stopped working. I don't ge...
[5 replies] Last: Look it up. a string is an instance of the class string . .size(... (by IWishIKnew)
by enemy
conversion from char to int- strchr
 
Hello! Please, what is wrong with the conversion here? #include<iostream> #include<string.h> using namespace std; int main(){ char word ="akva"; ...
[no replies]
by NoobOp
Garage Program help??
 
Hey guys i am having problems with this code and keep getting errors. After a week of going at it I still cant get it to work. Someone please help me -.- ...
[4 replies] Last: Run-Time Check Failure #2 - Stack around the variable 'vehicle' was co... (by NoobOp)
c++ trouble help beginner
 
Im new to c++ and I HAVING TROUBLE with processing the information im learning in class... I want to know how would you code "my name is adams, john. I own a 19...
[1 reply] : You should probably take a look at the tutorial on this site: http://w... (by Chervil)
BigInt library (1,2)
 
Hi, I need a library to deal with very large numbers, I downloaded the BigInteger library (https://mattmccutchen.net/bigint/) and tried running the sample.cc fi...
[31 replies] Last: > What does this mean?: -fsanitize=address is a compiler option wit... (by JLBorges)
string compare problem
 
Being ask to code a seat selection program whereby whenever a seat is selected, it turns X. 1)At line 159 to 164, i use a string compare whereby if a user ke...
[8 replies] Last: The "SEAT IS TAKEN" message can be issued at two different points in t... (by Chervil)
Any STL source code easy to read?
 
I've decided to read source code of STL,is there any material about it? Since c++ has changed a lot in the past ten years,I suspect that books written ten y...
[4 replies] Last: > i wanna learn some technologies about generic progrmming > Is some S... (by JLBorges)
array help
 
can someone help me with this,the user suppose to input 5 number but the out come is long different numbers why? // Number Sorter #include <iostream> ...
[5 replies] Last: Well, if you want the numbers in a different order, you have to sort t... (by Chervil)
by aish96
can files be used for multiple value storage for a variable?
 
i want the user to be able to input a number of values into the following variables, i.e., "no1", "str" and "age". will creating the file suffice or do i need ...
[no replies]
by enemy
Any reason not to choose "0" in this linear search?
 
Hello! Here is the program code! I wonder, if it is important if we put any other number instead key=0, or is there a reason that it must be exactly "0"? M...
[no replies]
by aish96
code doesn't allow input of user
 
the following code does not allow an input from the user.. the bold and italicised part is where i need help. oh! and i use code::blocks #include<io...
[7 replies] Last: ohh... thanks. i forgot to add that... thank you very much :D :D (by aish96)
random number above 32767
 
i'm trying to figure out how to get and display a random number above the 32767 integer. could some one give me a good explanation or some example to get a bett...
[4 replies] Last: thanks (by alex6es)
array
 
can someone help me with this number sorter, i want the user to input 5 number and pick between ascending or descending order, i dont no the code, please help? ...
[4 replies] Last: i really dont no what you have just said (by btickle1)
Why doesn't this work?
 
It worked fine when I had each spot it's on string, but when I changed it into an array for other stuff in the code it stopped working. I don't get errors or an...
[5 replies] Last: try to put UpdateMove = true at the beginning of while(GameStarted) to... (by ITR)
Putting arrays in switch functions
 
I am trying to put an array in a switch function. Why is the code not working? and is it even possible to do this? #include <iostream> #include <string> us...
[1 reply] : I think you've misunderstood what a switch/case statement is and how i... (by MikeyBoy)
What is wrong with my Linked List sorting method? I would appreciate some help
 
I don't know why it doesn't sort it. It just spits out the numbers in the same way that I entered them. I have looked and looked but I don't think my mind is in...
[2 replies] Last: It just spits out the numbers in the same way that I entered them. It... (by coder777)
Array Question
 
Hello everyone I have a question about the program that I have written down. In one of the options i am trying to ask the user to enter the data for an employee...
[1 reply] : printEmployeePaycheck( char name ... ) The first parameter of this... (by nvrmnd)
OOD and Arrays
 
I've got a program I'm working on the uses OOD in order to build an array of website information that a user enters. The program has to take a URL that a user e...
[2 replies] Last: Thanks for getting back to me!!! I think I made all of the changes yo... (by Jordann)
November 2013 Pages: 1... 4849505152... 80
  Archived months: [oct2013] [dec2013]

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