Beginners - September 2012 (Page 35)

Help with loop
 
I am trying to write a while loop on a calculator in c++. its my first real program in c++. when i use the calculator, it works and loops, but when i type exit(...
[3 replies] Last: No reason to delete the thread, just mark it as solved. (by georgep)
by rarko
Tasks c + +
 
Write a program in which the sentence is entered from the keyboard, and her words printed sorted by number of vowels.
[1 reply] : Ha! (by Stewbond)
can anyone help me to solve this problem?
 
the input is a number n, and a set of n array. the output are maximum array, minimum array, rate, and the sds. this is my code: #include <stdio.h> #in...
[1 reply] : When I compile your code it tells me: 1>main.cpp(40): warning C4700:... (by cire)
Problem with loop
 
I have a loop in a function that is supposed to insert a number in the space in the array where position is currently sitting. All the numbers have to stay in ...
[2 replies] Last: Thanks for your help! I've got it now. (by apeachaday)
by lmsmi1
Arrays ('z' not declared in this scope) Error
 
I'm working with arrays now for BitCrypt, and for some reason, even while including everything I needed according to recently read threads, this code returns ('...
[6 replies] Last: In line 29, I believe you mean == rather than = . In all cases whe... (by cire)
by Aceix
Difference between to...
 
What is the difference between to pass by reference, to pass by address and to pass by value?
[6 replies] Last: > how do I pass the reference by an lvalue or an rvalue? Perhaps you ... (by JLBorges)
if, else if statements
 
Yet again, i encountered a problem using if, else if statements. This time making the vending machine program in beginning excercises. The program launches, how...
[14 replies] Last: Main module? Elaborate, please, i'm very new to this obviously... (by Terje Gundersen)
How to know the "calling function"
 
How do I know the "calling function" to a function. To make clear, I give examples. void funcA () { } the from the same or other programs, there are s...
[2 replies] Last: A function can not know what code did call it. (by vlad from moscow)
While loop output error.
 
Hello again, alone I've managed to get my program up and working and directed any little questions to my lecturer. I'm sorry that last time it seemed my statem...
[2 replies] Last: (I want to go hang myself right now) Need to relearn preschool style, ... (by zero117)
My first 2D games (C++ and Allegro)
 
Hi guys. I'm pretty much a beginner. I started programming with Python around a year ago, and I've been learning C++ for almost 3-4 months now. I actually...
[5 replies] Last: Thanks for sharing this post. http://www.editableclips.com/ (by editableclips)
Storing words with blank space
 
Hi, I have a quick question! I tried looking for it but couldn't find it. How do I store words containing a space into a variable? For example st...
[3 replies] Last: Thank you guys! I apologize for asking a question that is answered on ... (by EasyGoing)
Game related
 
Why XNA uses C# programming language and why C++ uses Direct X? Why not other?
[1 reply] : That's just how they were made. And as far as I know, you can use Dire... (by DesiredNote)
C_string program help assign whole string to address??
 
It reads in info fine just when the getInfo function finishes use c_string library functions to concatenate the values held in street, city, state, zip and assi...
[1 reply] : You will probably have to first do a strcpy() into the address and the... (by ssrun)
If something is changed do this..
 
Hey i'm looking for a way to say something like: if this is changed, do this Basically this is where i need it: if (theFunction == "keyPress") ...
[5 replies] Last: Yeah thanks guys, that fixed it! (by Yihawesome)
Defining value of square root
 
Hi, everyone. I'm new to programming and i've ran into a trouble. right now, i'm trying to make a program that can decide whether a triangle is a right triangl...
[2 replies] Last: http://en.cppreference.com/w/cpp/numeric/math/sqrt (by JLBorges)
Detail of read() and write()
 
I want to know about the internal working of read() and write() functions in ifstream and ofstream respectively. I,although, have made many programs of these fu...
[3 replies] Last: The important things to remember are: a. read() and write() funct... (by JLBorges)
Networking programming
 
I've been given a project to make a "C++ program" to manage an online banking system that works on the network of computers that are connected via LAN....Please...
[2 replies] Last: I'm just a beginner in such type of programs and i know nothing about ... (by Pter0dactyl)
Review code - dynamic memory arrays+writing to a file
 
Hi all- Looking for someone to critique my code here. My objective is to write a program that opens a given file ("input.txt"), writes the file's contents to...
[1 reply] : The lines... int A ; /*arrays of size n?*/ int B ; int C ; ...... (by MrHutch)
Reading certain information from an MP3 file.
 
Hey y'all, kinda got a question on reading specific information from an mp3 file. The ID3v1.1 tag information is the last 128 bytes of an mp3 file. Each field ...
[no replies]
circular array
 
Hi need a little help. I want to implement a 19 element circular array. Not a queue, and not a list; just a regular array. How can I make it circular? All I c...
[2 replies] Last: tntxnt's method works well. The trick with the circular buffer (being... (by Lowest0ne)
September 2012 Pages: 1... 3334353637... 62
  Archived months: [aug2012] [oct2012]

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