Beginners - March 2015 (Page 25)

memset alternatives
Hello, I find my self needing to fill an array of 57600 byte's with a recurring sequence of 3 numbers. so 0 ,0 ,0 , 0 ,0 ,0 <- empty array 1, 2, 3 , 1,...
Mar 15, 2015 at 3:41pm
[5 replies] Last: Line 6 was indeed incorrect. Should have been dest, not src. Whet... (by AbstractionAnon)
2D Array Help :[
Im in dire need of help with a 2D array. here is the proffessors assignment Digital Calculator John was so fond of his digital calculator that when the one I ha...
Mar 15, 2015 at 1:43pm
[5 replies] Last: it seems like i would have to store arrays into strings, how would i ... (by TarikNeaj)
'Undefined Reference To' errors with static library
This is a very confusing issue for me. I've been learning to use SDL2 and I was unhappy with its GUI support, so I reached out to find another library to help m...
Mar 15, 2015 at 1:31pm
[1 reply] : It may also be important to note I'm using GNU version 4.8.1-4. (by jonah876)
jumping voids
How do i jump from the first void to another from void Monthly to void Last. #include <iostream> #include <string> #include <conio.h> //Otal ,Damary,...
Mar 15, 2015 at 11:08am
[2 replies] Last: no need i solved it by myself thanks for your help doe. (by jappreet)
string help :( (1,2)
.
Mar 15, 2015 at 10:21am
[20 replies] Last: The OP couldnt communicate what he actually wanted. I gave him what he... (by TarikNeaj)
Choosing a free compiler for windows
Hi! I have decided to learn c++. I've already installed an IDE, netbeans. Now I have to choose a complier and I don't know which one is appropiate. I can't spen...
Mar 15, 2015 at 9:57am
[5 replies] Last: Finally I've chosen mingw, and it works fine. Thanks a lot. (by Pixelsarecool)
Cannot seem to subtract negative double
hi, In my bit of code, when I pass in a double value, it doesn't seem to subtract it, rather it adds using that value double amt = 0.0; cout << "Amoun...
Mar 15, 2015 at 5:31am
[2 replies] Last: Haha oh my god, I can't believe I spent like an hour debugging all of ... (by jjwooyoung)
string and variable ?
Hello, How can I use a string cin and associate it with a number? what heading and variable should I chose? example: cin >> month; june ...
Mar 15, 2015 at 5:25am
[3 replies] Last: while megatrons answer is correct, it is somewhat possible to switch o... (by Little Bobby Tables)
merging two arrays together
What is the best way to merge two arrays into each other. They don't have to be sorted. just merge them together. I have the code below can you tell me if this ...
Mar 15, 2015 at 5:19am
[3 replies] Last: http://www.cplusplus.com/reference/algorithm/copy/ auto i = cop... (by Duthomhas)
by Orval
Was it necessary to make an array like this?
Ive never been great with arrays. Ive made this array to make 52 cards (for my poker game im making). I feel like there is a much easier way I could have done t...
Mar 15, 2015 at 5:18am
[2 replies] Last: You can use a lookup table, and then use a loop to fill your array: ... (by Disch)
what does
what does "value of type System.Drawing.Image. cannot be converted to boolan mean? Label1.Text = (Int(Rnd() * 3)) 'pick number Label2...
Mar 15, 2015 at 4:41am
[1 reply] : What language is this? Is this VB? It's certainly not C++, so it's c... (by Disch)
New to multithreading
So i'm trying to set up multi-threading on a program and i can't get it to run my function. Any help would be appreciated on line 50. The function runs fine wit...
Mar 15, 2015 at 1:30am
[18 replies] Last: Yeah I think I'm just going to give up on this. This was just going to... (by skimmer001)
Invalid Operands 4th order Runge-Kutta
I am not entirely sure that what I have done is correct. I followed an example given in my notes, adapting the code to suit the required problem. My problem ...
Mar 15, 2015 at 12:00am
[7 replies] Last: You're welcome. There is a good description of the relationship betwe... (by norm b)
Triangle Problem
blah
Mar 14, 2015 at 10:11pm
[5 replies] Last: int num; char sym; cin >> num; cin >> sym; cout << endl; fo... (by TarikNeaj)
Cannot get file to display properly.
I have to create a program, that takes a file with employee first name, last name, original salary, opens it, reads it, then does math for a raise and outputs t...
Mar 14, 2015 at 9:40pm
[15 replies] Last: Looks beutiful =) P.s. Im sure someone most experienced than me coul... (by TarikNeaj)
reading off single bit value from int error
1. I was creating number that consists of these 2 bits (20th and 2nd) 2. I tryed to read exactly that 20th bit to see if its actually 1 Here is the code and t...
Mar 14, 2015 at 9:17pm
[3 replies] Last: Thank you very much man for got me thinking (( x >> 20) & 1) works ... (by etrusks)
by tywin
Comparing and adding fractions
For this project I am suppose to first display a number in proper fraction form by using the greatest common factor. After this I'm suppose to compare and add t...
Mar 14, 2015 at 8:45pm
[no replies]
by Ramono
Send a content to child from parent with using dup2
what I am trying to do is pass dynamically load a text file into buffer (in parent) and pass this data to another process (child). then child returns this data ...
Mar 14, 2015 at 8:33pm
[no replies]
by koopey
is Jumping Into C++'s sample code wrong??
Hi everyone. First of all, I am not really claiming that the code has to be wrong. I am not judging it, rather, learning it for the first time and it 'seem...
Mar 14, 2015 at 7:34pm
[4 replies] Last: that's bad code. get a better book. (by anup30)
cell phone code issue
Hello All, I have been working on this for two nights. I need to ask a user for the month by name and how many minutes they used in that month. My code has to ...
Mar 14, 2015 at 6:12pm
[4 replies] Last: Okay That works.. Now I just need to figure out how to get the case s... (by Gmoney2015)
March 2015 Pages: 1... 2324252627... 51
  Archived months: [feb2015] [apr2015]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.