Beginners - April 2016 (Page 7)

Cin >> string, ss<<a<<string //the string is giving only 1 word, why?
 
Hi forum, i have an problem and a question: The question, there's any funtion to put number to how much file's there in a folder ---See line 44--- The pro...
[11 replies] Last: Anyway, i fix m problem, thanks for trying too! (by CosminPerRam)
copying file using fstream
 
I know that this code is available on reference programs on this site, I am posting this program to know meaning from line 10 to 18. what is inbuf,outbuf,sb...
[1 reply] : I would think there are pretty good explanation with examples: http:/... (by coder777)
Creating an user login/password console and my code is missing something?
 
I don't know if it's the order or if I'm missing something in the logic. My best guest is that I messed up in creating the loop, but I don't know what it would ...
[1 reply] : It works for me. Output: Please enter new user name: Anna Please ent... (by Thomas1965)
C++ Age for begin learning
 
Hi, as you can see on my profile i am 14 Year's old, its okay to learn c++ in free time? I really like it and i want to know if its good for future to start lea...
[2 replies] Last: Thank's man, that help me a lot! (by CosminPerRam)
Reading files into a array.
 
Hey guys, I had a homework on my programming class, but I am having a lot of difficulty with it. The project is: A small market maintains an inventory of exa...
[1 reply] : Duplicated post: http://www.cplusplus.com/forum/general/189874/ I a... (by chicofeo)
Integer as well as summation.
 
In below program it showing "expected while before } token" i tried so much please help. Please correct it. #include<stdio.h> main() { int N,num,sum=0; d...
[1 reply] : I will not correct anything, but I will use code tags in my post (as y... (by keskiverto)
Math Tutor help
 
Hello my fellow programmers, I am in need of assistance. I have mostly completed my code in regards to the program I have to make, called "Math Tutor". I pretty...
[1 reply] : Similar to how you are counting 'tries', you need to declare and initi... (by Arslan7041)
Why am I unable to get the address of an int* function?
 
I wrote a program to explore pointers, the dereferencing operator, and the address of operator. I noticed that p, x, and varMim() have addresses but the program...
[1 reply] : There is no such thing as an int* function. You have a function that r... (by ne555)
by engm
String Sorting & char counting
 
is there a function or a way to count how many special characters are in a string?
[1 reply] : What constitutes a "special" character? (by xismn)
Noob question
 
Hey guys, I'm trying to make the user only store numbers into the variable userInput. This is what I got so far, whenever the user enters something like 1a the ...
[3 replies] Last: @Uk Marine, thank you very much! This is a very good way to go about d... (by MultiMedia)
How to update my score
 
Hello, everyone, I am trying to update my score in program "Connect Four" but for some reason it is not being updated. I got function that I use to calculate s...
[no replies]
Menu doesn't run
 
I'm trying to put a menu into my program and it just doesn't the int menu() function. Just goes straight past it void tempAvg(weather , int); void getData(wea...
[no replies]
A c++ question
 
Hello, Can you please help me correct an exercise? i have attached below the links of both the question and the solution i am working on. https://www.dropbox....
[5 replies] Last: Displaying Arabic numbers in Roman Numerals, and vice versa, requires ... (by closed account E0p9LyTq)
by Skylar
Homework Question-While Loops
 
Hello! The homework question is this one: write a program tht can be used to calculate the federal tax. The tax calculated as follows: For single peopl, the sta...
[6 replies] Last: Thank for the help! (by Skylar)
Two programs; accepts inputs; then outputs
 
I am currently writing two programs for school that do the following. Part A: Write a program to open a text file named "CSC2134N.TXT" for output, then acce...
[1 reply] : I am just not sure if my last input from Part A is becoming duplicated... (by spencer10)
by mrtoad
malloc of a struct array
 
I am having problems with a large array of a data structure. I am trying to eliminate this error. I don't know how to use the malloc() function? Any help wou...
[3 replies] Last: These should give you different errors (or not): struct SE70_Paramete... (by keskiverto)
Array-base List/ Menu driven
 
Hi, I have been working on a very huge assignment, and I am kinda lost. I need help writing the definitions of some functions. I know what I want, but I don't ...
[6 replies] Last: I don't see any obvious errors, except this one: ShoppingList.print(... (by Tyler T)
File input into a second array
 
Hello, Can someone please look at my code and show me how to add a output a second array on the side of the current array? The code uses File input to get info...
[no replies]
Needs to be modifiable value
 
I am trying to create a text RPG with an ability check system similar to dungeons and dragons. I wanted to make a function that I could call any time I wanted t...
[1 reply] : I need the variable to be used to substitute for other variables in t... (by helios)
Single Linked List - reverse order/sorting.
 
Hi there. I'm trying to make a program that: From: Pineapple->Apple->Ash->Abc->Pearl->Bonfire->Ball (input) Turns into: Abc->Ash->Apple->Ball->Bonfire->Pearl-...
[2 replies] Last: As I try to vision that, I see that more difficult than the way I was ... (by Maartin)
April 2016 Pages: 1... 56789... 43
  Archived months: [mar2016] [may2016]

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