General C++ Programming - July 2013 (Page 20)

conversion program code errors help please
 
Im very new to programming and i have to write a code to convert centimeters to yards feet and inche...
[2 replies] Last: Oh cool ty very much it was driving me crazy (by Jorys22)
Help With Basic Encryption/Decryption
 
while(!in.eof()) { in >> ch; char d = int(ch) + 10; out << d; } while(!in.eof()) { in ...
[2 replies] Last: thank you so much! (by hungrytacos)
by lnzsy
unordered_map's conflict resolution
 
Does anybody know how unordered_map resolves conflicts? Linear probing or chaining? Thanks a lot!
[2 replies] Last: It has a bucket interface so I guess that means chaining .... (by Peter87)
Translate to c++
 
Translate scanf("%s", &file)
[4 replies] Last: he had a different question posted which is why my stuff doesnt make s... (by closed account Dy7SLyTq)
strcpy problem, I included cstring, string, iostream, stdio etc but still my compiler says its no a member o std!!
 
so I have been trying to send the correct kind of char array down a sfml socket, but nothing ever ge...
[5 replies] Last: that wasn't sending for some reason peter, rather fascinatingly...usin... (by devonrevenge)
by k96
some kind of Josephus problem
 
TASK 1: BUSINESS TASKS A busy businessman has a number of equally important tasks which he must acc...
[no replies]
Saving Files
 
I am working on a text-based RPG game and I want to allow the player to save his progress. So I nee...
[8 replies] Last: Okey I code 2 functions, one for saving and one for loading. But when ... (by closed account 1v5E3TCk)
Correct or Not
 
is this code is correct or not and why it's correct or not i'm confused help please template< ...
[3 replies] Last: No, this is not template specialization at all. (by Peter87)
Size of char arry
 
Hello I have function that looks like this myfoo(char* Name) Now i want to compare this name to an...
[6 replies] Last: @zoran404 Thanks for pointing out my mistake, How about bool are_e... (by andywestken)
by icee
Quadratic Formula Calculator
 
#include <iostream> #include <cmath> #include <iomanip> using namespace std; int main () { fl...
[2 replies] Last: Also, your complex roots will not be displayed correctly. Your roots a... (by ats15)
structure
 
So I am trying to write a program that has 3 subcategories under the category section. the subcateg...
[3 replies] Last: I think I get where your going with this but, still kinda fuzzy on the... (by kingkong200)
How can I perform arithmetic operations with template parameters?
 
Hello all, I'm seeking help with how to use template parameters to perform arithmetic operations ...
[4 replies] Last: > How can I change these values to create new types using arithmetic m... (by JLBorges)
convert C to C++
 
So how do I convert these few lines to C++? char *str = new char[amp.length()+1]; strcpy (strr...
[3 replies] Last: Thanks. (by puppymew)
How to draw a magnifying glass using <graphics.h>
 
I want to draw a magnifying glass using graphics.h which is used mostly as "Search" icon. But, I am ...
[3 replies] Last: The reason you aren't getting a satisfactory answer is twofold: (1) ... (by Duthomhas)
switch statement
 
hello, i have a task that says to use a switch i have an input file that i can open the correct ...
[4 replies] Last: heres the instructions form the example. use a switch to accomplish. ... (by hogwheeley)
Segmentation Fault
 
I am writing this program that runs in XCode but when I compile it in g++ and execute it I get a seg...
[2 replies] Last: That was exactly it. I thought I had tested for that so it did not occ... (by Aegon Targaryen)
by Mats
Finding how many factors?
 
What is the most efficient algorithm for finding how many factors a number has? I've just been doing...
[5 replies] Last: [quote=Mats]What is the most efficient algorithm for finding how many ... (by cire)
Error in code
 
I am getting error in line 76 :default argument given for parameter 1 of `Array<T>::Array(int) and i...
[4 replies] Last: Thank you vlad I solved it!!! (by Kristiano 96)
What to do?
 
Hi. This is one of the programs that I have to do according to my assignment: Define a class BOOK ...
[6 replies] Last: Maybe you are doing something wrong, it would be good that you show yo... (by ne555)
Number Anagrams
 
hello everybody, i was recently working on a problem that required me to find a number and its doub...
[5 replies] Last: If you don't know what itoa is then just type itoa in the search field... (by zoran404)
July 2013 Pages: 1... 1819202122... 34
  Archived months: [jun2013] [aug2013]

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