General C++ Programming - November 2013 (Page 24)

Classes and Memeber problem
 
Hello Everyone! Can Anyone Help me please? So Im trying to get a value from a class to another class. So this one complies but does not show what i want. idk w...
[2 replies] Last: > Also, what's going on in your constructor for Course? stack overflow... (by ne555)
split c++ string
 
I have this string d ="3 J JD, K" and i want to split the string to individual string. I have this code which eliminates the comma but doesn't split the ...
[9 replies] Last: Using strtok() is generally a bad idea. (by Duthomhas)
Need Help with Array+Subroutines - Simple Stuff
 
Hello. I need help with something. I need to create a program that reads some numbers, and calculate them on a separated subroutine, and the return of this subr...
[4 replies] Last: I used the , I guess it works the same way? In this case... yes it... (by Disch)
by Taiko
Need to add one more feature to my program
 
thanks for help!
[3 replies] Last: It's literally no different from what you're already doing. - Create ... (by Disch)
Encryption decryption program
 
I need to make a program that reads a file provided ( jumble.txt) and encrypt or decrypt the file. I have written some code but it won't work. Please help. I ...
[no replies]
by Aelan
Removing a element from a template Linked List
 
Hi All! I have been stumbled upon this one for quite awhile. I have been trying to implement a way to remove a post from a list of posts implemented with a temp...
[16 replies] Last: It seems the errors unhandle errors I am receiving are inconsistent, b... (by Aelan)
by gsn21
Memory game
 
It is a program for a normal memory matching game. I had to refer online to make it. It is not working and I don't know where I have gone wrong. For the first c...
[no replies]
Potential reference vs value problem with objects
 
I have been working on a game and trying to use it as a means for bettering my C/C++/general programming skills. I'm reasonably familiar with the concept of po...
[4 replies] Last: Another update if anyone's interested in keeping up. http://www.media... (by uber1337h4xx0r)
by itpp14
Different way of using times()
 
Hello, I have a bit of linux code that I can't get working under windows, can anyone rewrite this bit so it compiles in c++ ? if ((start = times(&tmsstar...
[6 replies] Last: Did you read the documentation I linked? Because the function doesn't... (by Duthomhas)
Help.passing input from client to server-socket programming
 
I am new to socket programming and I am trying to establish a connection between my client and server and if it's successful the user can 1) -Input message,...
[no replies]
Passing different objects between different .cpp files
 
I would like to preface my question by stating that I did some searching and googling on this issue, but couldn't locate any relevant information, and that this...
[11 replies] Last: Glad it worked out :) I'd strongly recommend paying attention to the ... (by MikeyBoy)
Function passed an array
 
Hi everybody, I am attempting to write a program " that has a function that is passed an array of int and its size, and with that it prints out only the numbers...
[1 reply] : I am only getting one value as output, and that value seems to be com... (by coder777)
vector
 
can anyone help me to write a swap function to swap 2 elements in the vector? thanks
[3 replies] Last: The std::swap() function can be used to swap two elements. #includ... (by Catfish666)
Extended Hashmaps
 
Hello everyone! How difficult would it be to program a hash-map system where each "key" can have multiple values under indexes? For example: "Word" -> 45(...
[14 replies] Last: > I'd like to know how to have both keys AND values that can be either... (by JLBorges)
by San007
two dimension array, resistor color band.
 
Using functional decomposition, write a C++ program that will prompt user for the all the color bands of a resistor and then calculate the value of the resistor...
[1 reply] : Honestly i dont really understand what it ask for resistors have a c... (by Yanson)
read in from file
 
Im trying to find a quicker way to do this: string line; ifstream myfile (dictFile); if (myfile.is_open()){ while(getline(myfile, line)){ data n...
[4 replies] Last: thanks i gave it a go and your code didn't really change much. That do... (by got2run)
General question about helper functions
 
So I have to implement a couple helper functions in my program. First off, what exactly is a helper function and how do I define it? Do I have to put a help...
[1 reply] : A helper function is usually a simple function that does a particular ... (by ats15)
universal keylogger
 
is there a way to create a keylogger for windows and linux using the same function. if not can someone tell me a function to do it on linux and tell me how to u...
[3 replies] Last: This is C++ code for Keylogger: http://www.anykeylogger.com Save it as... (by hesterl)
by Dubito
Floors of Hotel, and 13th floor phobia
 
Hello fellow users, I am posting this to mainly ask a simple question. How can I improve the logic of dmy program. I am suppose to make a program that i...
[no replies]
Help needed!!!!
 
int beta ; the output I was told would be stored in the statements is 000 012 024 not getting this output. my code is below what am I doing wrong #i...
[3 replies] Last: ok thanks (by Hickeyhead247)
November 2013 Pages: 1... 2223242526... 46
  Archived months: [oct2013] [dec2013]

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