Beginners - May 2011 (Page 24)

Pancake Glutton string array
 
Hello. I am trying to do an exercise I found somewhere on this discussion boards. It is called "Pancake Glutton." It seems that I am doing something wrong. On t...
[2 replies] Last: Thank You. It was so obvious! (by Marioqwe)
Trigonometric Rounding errors
 
I've been trying to create a rotational operator using the rotational matrix R (2x2 matrix). The elements of this matrix consist of trigonometrical functions...
[6 replies] Last: Looks like it would work - but given the other features yet to be fixe... (by NoteToSelf)
Encryption/Decryption
 
I needed some help in understanding how to encrypt and decrypt a file. I couldn't find any article on it and I am pretty much a beginner in programming, so I wa...
[11 replies] Last: Don't Bother. Found the error. It was in Line 63, 68 and 73. I had fo... (by Nisheeth)
Cant figure out whats wrong
 
Hello, Ive been working on this inventory for practice for quite some time now and this is the last thing i need to do ive been trying everything i know to get ...
[4 replies] Last: Alrighty. They are both saving to the same file the thing is im gettin... (by GamexCoder)
Help!!!
 
Hi, this program should finds the frequency of each grade in the file, here is my code, but it gives me all same value which is 8 and it's wrong! what did I do...
[9 replies] Last: IDs : grade u0888 A u0777 B u0999 D u0444 F u0333 B u0444 ... (by Thuraya)
2-Dimensional array grid based simple text based rpg, noob
 
Hey guys, I have been reading the forums quite a lot lately, however I have finally decided to join when i got stuck on a very simple problem :( Thi...
[11 replies] Last: Ok, I understand that. But, with what am I meant to fill it out with... (by jefw123)
const char* and LPCWSTR conversion
 
Hi everyone, I was messing around with a Win32 API tutorial today and I came across multiple errors when using MessageBox's - errors from the compiler regard...
[2 replies] Last: If you are using chars instead of TCHARs or wchar_t's, then use the 'A... (by Disch)
by IvanLi
need help on string and char
 
hello, i wanna tolower a string and return it, but do not change the original value. string tolower(string fStr) { char strings[fStr.size() + 1];//th...
[2 replies] Last: There are a lot of problems of your code (1)char strings[fStr.size() +... (by stereoMatching)
by bk1k
how can i read integers from an usual text in C++
 
Hi,I'm so new to c++ so please be easy on me. Now,I have to read integers from a text file like this; 3 7 11 6 11 6 3 10 6 7 9 6 13 5 15 5 1 10 12 7 13 7...
[1 reply] : You need to expand a vector before you can put something in it. You co... (by hamsterman)
String subscript out of range
 
When i run this simple code, I get the error: String Subscript out of range //Declarations int main () { string text; char Key = 'x'; getline (ci...
[2 replies] Last: Thanks! Now i works. But is there any way to make it work for the str... (by Nisheeth)
by IvanLi
how can i copy a string to char
 
hi guys, i have a task needs to do some comparison for a string, but before compare them, it should be change to lower case. so here is the function for tolower...
[2 replies] Last: thanks mate, i'll have a try (by IvanLi)
Need BinaryTree code
 
Hi, I need to create a binary tree with linked lists.the code captures data from input and saves them in linked lists. and i am new to programming so please put...
[8 replies] Last: hmm i was wondering . (im new to c++) Is a tree a type of list .. or... (by theonealone)
IDE? (1,2)
 
Dear All Can you please propose me for a compact size Integrated Development Environment for C programming for Windows? Thank you
[34 replies] Last: Can you please let me know about "Something to learn from" as well? (by hadimotamedi)
What's wrong!! :/
 
Here is my code to distinguish between integers and numbers with decimal point. the table should display all numbers with their notes, but here the table dis...
[2 replies] Last: ahaaaa, thanks it works ^^. here is my new code: #include<iostream... (by Thuraya)
deafault file write location
 
Hi there. I am writing a C program and I want to have the program write a ReadMe file with the instructions for the program on it. I want this file to be wri...
[3 replies] Last: If this is a console application, most likely average users don't know... (by modoran)
by chaman
Is any variable or container in c which contain more than one data type
 
sorry but My previous thread does not take any reply therefore i start new thread for prev topic. struct, class both declare data type at compile time but in...
[2 replies] Last: Well, you got a good tip in your previous thread: http://cplusplus.com... (by m4ster r0shi)
Is there a difference between Declaring a variable these 2 ways
 
I was wondering if this is basically the same thing? Or is one declaring x and the othe intializing x? what is the difference between declaring and intializing...
[1 reply] : The difference is that in the second function, x is a parameter whose ... (by cristi121)
Re-editing a source code?
 
How does one re-edit a source code using windows form app? for example, I was wondering around the Google search engine on free source codes using windows form ...
[1 reply] : What did you copied & pasted? A windows form should have header files,... (by matsom)
Need help creating function that capitalizes a char array!
 
I am stuck on a part of my final project for Introduction to C++ class. This is what it tells me to do. Write a function called strUpper. This function shou...
[5 replies] Last: I figured it out! Thanks for all the help, it is much appreciated! (by AndrewGary)
by qwesr
How to make a variable contain a word?
 
How do i make a variable hold an entire word or string instead of just one letter?
[4 replies] Last: OK i got it, thanks (by qwesr)
May 2011 Pages: 1... 2223242526... 48
  Archived months: [apr2011] [jun2011]

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