Beginners - April 2014 (Page 25)

Variable is being used without being intialized
 
variables F,M,A,I are not being initialized near the if statements but I thought I internalized them in the beginning of the code? Any idea where I am going wro...
[4 replies] Last: Hi & welcome to the forum ! :+D No one has pointed out to you what in... (by TheIdeasMan)
While Loop Problem
 
I'm having a hard time completing this code. I believe something is wrong with my while loop but cannot figure out what. Any help would be appreciated. Thank...
[no replies]
Reverse array
 
How would i fix the reverse section of this array #include <iostream> using namespace std; //functions prototypes void readArray(int , int); void disArray(i...
[4 replies] Last: Thank you (by Stephanie16)
C++ Windows.h?
 
Hello, I'm learning currently C++ and been looking at some source codes and it seems that all of them uses the header "windows.h", but "Jumping into C++" doesn'...
[2 replies] Last: @AbstractionAnon OMFG! NEVER THOUGHT OF GOOOOGLE, Thanks! I seriously ... (by InvulBox)
Homework Help Please(again)
 
I do not understand why the second line prints only one star. I am missing something that is probably right in front of my face. Can anyone offer guidance? H...
[3 replies] Last: ok..so I got it to work but not sure I am happy about all the space in... (by tdenning)
strange behavior in simple multithread program
 
So my code pretty much works the way i want it to. There is just some strange behavior that I was hoping you guys could shed some light on. It's supposed to...
[5 replies] Last: nvm i get it. im dumb. this is why im still in the newbie section. inp... (by MarketAnarchist)
My program is just flat out skipping a part?
 
So, in a C++ 2 class, pretty simple stuff compared to what all I've seen on these forums for how y'all write. Anyways, my issue has become urgent enough, and my...
[3 replies] Last: If you're running it in Visual Studio, it probably means that your pro... (by long double main)
Syntax for accessing member functions of objects in vectors?
 
I have been searching for the proper syntax to access member functions of objects within a vector and am having no luck getting it working. It's probably a fair...
[5 replies] Last: If you're using an iterator: #include <vector> class Object { publi... (by xismn)
Please Help with an old program question
 
I have a very small program that was written for me by a friend, and he no longer does programing, it was written in C or C++ and compiled with Make C to run in...
[13 replies] Last: After thinking about this,,, I made an Incorrect statement.. I could n... (by holeysocks)
Bool returning value 204
 
I have a class that uses a Bool to store something. I have a member function that returns the value of that Bool. It wasn't working as expected so I tried print...
[2 replies] Last: When you say "Bool" do you mean something different from the C++ built... (by Chervil)
by lolo10
writing a program about shipping
 
class Package { private: // data members to store sender and recipient's address information std::string senderName; std::string senderAddress; ...
[10 replies] Last: ok, my problem is in the int main(), i have to change it and rewrite i... (by lolo10)
passive input?
 
Sorry, I don't really knowing how to title this thread. for the same reason i dont know what to title it, i dont really dont know what i should be google search...
[2 replies] Last: thanks. i have no idea what that means but i bet i can figure it out. ... (by MarketAnarchist)
by Subo93
2D array Find the maximum sum
 
I want to find the highest scored player and print it.Can anyone explain the logic that i can use in int Findwinner(int data ,int rowSize,int colSize) thank...
[1 reply] : just set the maximum to the first element then iterate over them and i... (by giblit)
by vela84
DC Circuits Program
 
My group and I are writing a program that can solve Resistance total, Voltage total and Current total in a DC series, parallel, and series-parallel circuit. We ...
[3 replies] Last: Unless you need to remember the individual values, you don't really ne... (by admkrk)
Compilation of header file for a class/
 
Hi all, I am having a problem understanding the concept of a header file. I thought that a header file was used for the declaration and possible definition o...
[9 replies] Last: Even if it compiles it will not do what you want. (by LB)
I need help1
 
Why my program doesn't work?It is suppose to ask me for a number and square it for me but its not working Thank you for reading this #include <conio.h> #in...
[4 replies] Last: Wow what a reply Thanks a lot TheGentlmen (by Mehrdad87)
Structure, syntax question
 
Alright, so i'm in the midst of programming my most ambitious program to date to force me to learn code organization and bringing it all together. Anyway, I'm i...
[11 replies] Last: I realize that there are multiple ways of doing everything in programm... (by closed account 3R5fjE8b)
by jwilt
need help with trees
 
what do I make "root" point to too traverse the tree? #include <iostream> #include <fstream> #include <cstdlib> using namespace std; ofstream outfil...
[no replies]
WM_KEYDOWN and WM_KEYUP message or GetAsyncKeyState() Function
 
Hi, i want to make this program which sends to a server A was key B held or just pressed so that Server A can determine whenever to do Function C or D. LRE...
[1 reply] : Hello? (by closed account z1CpDjzh)
where can i learn graphics for visual c++?
 
hi, i'm new to c++, i have learnt the basics of the language and learnt how to use turbo c graphics. But turbo c graphics seems to be outdated in modern compile...
[1 reply] : Your best option would to just get started with a gui lib such as SDL2... (by closed account N36fSL3A)
April 2014 Pages: 1... 2324252627... 67
  Archived months: [mar2014] [may2014]

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