Beginners - July 2013 (Page 37)

Decimal to hexadecimal converter
 
Hi everyone. Im trying to make decimal to hexadecimal converter. The code is given below: #in...
[4 replies] Last: Two approaches: #include <iostream> #include <iomanip> #include <str... (by cire)
Fast retrieval/ reading of data
 
I have a 1024 by 1024 dataset and I've written a piece of code that tokenize line by line and storin...
[6 replies] Last: One more comment. If you had full control over the format of the data ... (by Chervil)
toupper and tolower error
 
I am stuck up in a seemingly simple program: my homework task is: Write a program that will a...
[10 replies] Last: use int main() in C++ rather than void main(); (by Group of Eight)
array, sentence, word elimination
 
write a code to eliminate a word in a given sentence! compiles fine. doesn't work!!! can anybody tel...
[1 reply] : Use std::string to hold the sentence and the word to be eliminated, ... (by JLBorges)
Factorial Finder
 
What's wrong with this application? I want the user to enter a number and it finds the factorial of ...
[19 replies] Last: unsigned int num; doesn't prevent the user from entering a negative ... (by JLBorges)
going out of the matrix
 
so let say i have a 4x4 matric...now lets consider coordinates 0,0..the first cell...now just outsid...
[3 replies] Last: Assume the matrix is nx*ny. Then your function should look like this (... (by ats15)
by Shrpie
unlimited input from user
 
I am having trouble phrasing this but here goes. How do I make a new variable every time I need one ...
[1 reply] : Please see Dynamic memory allocation and/or vector stuff.... (by condor)
Help with building cash register for homework
 
So i am still very new at this, i am basically learning as i go. So my home work is to Write a progr...
[2 replies] Last: It looks more less ok. But you're not "reading the price and the numbe... (by andywestken)
how to change the configuration of Visual Studio
 
I want to use C# in visual studio 2010 my default setting is c++. how to change these settings??? i ...
[2 replies] Last: i have 2010 and i never install whole Visual Studio i just install Vis... (by azmizryk)
by Andym
Why am I getting different values here
 
HELP!!!! I know I have something simple out of place here but I've been working on this for a few...
[3 replies] Last: Can't you use 'rowNumber' to assign to 'Assignments'? (by maeriden)
char **pointers
 
How to assign chars to the pointer array? Would it be: char somefunction (char **array) // c...
[12 replies] Last: I see thanks. (by kingkong200)
bubble sort
 
So I'm doing one of these bubble sort programs and it is certainly sorting for one pass. It will pa...
[2 replies] Last: Good eye and thanks! It's working now. I had something similar going... (by philbertfour)
random list picker
 
Is it possible to write a program that will randomly pick items based on a percentage value from sev...
[no replies]
prototype for class with multiple template variables
 
Could some please give me an example of the class function prototype for an overloaded = operator wh...
[1 reply] : What's important is that the class name includes the template argument... (by Daleth)
Attack sim error
 
I was writing a program to sim an attack and i set scbp to "sneak=N(string) FOA=N" and sneak_num(int...
[4 replies] Last: if(sneak_num == 1,2,3,4,5) Only validates sneak_num == 1 . I don't ... (by Daleth)
by ZeHgS
Unresolved externals when Vector1 = Vector 2
 
Hello! I have been burning my brain for the last three hours trying to understand why my code would...
[3 replies] Last: Anything that can be done should be done in an initializer list. The ... (by Lowest0ne)
removing vector elements
 
I have a main vector container which will be passed vectors of different lengths I would need to su...
[7 replies] Last: thanks for the help. I modified the code and is working fine. #inc... (by rafae11)
Overloaded function.
 
I have been using return a lot and I have overloaded it. What can I do about this? I can't use it le...
[8 replies] Last: From what I see, if I understand correctly, you can simply delete over... (by MatthewRock)
Copying folders and their contents
 
Hi. I'm pretty new to programming but I have an ok handle on it. I normally do scripting and I use...
[18 replies] Last: THAT sounds like a good idea. I've been asking people for ideas and t... (by ThtCooperFellow)
Read text array to array
 
Hello, I am new to C++. I have a text file that looks like this: (a couple lines of words) x =...
[11 replies] Last: Thank you very much, but it did not give the right number (which is 20... (by vadkortefa)
July 2013 Pages: 1... 3536373839... 53
  Archived months: [jun2013] [aug2013]

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