Beginners - September 2013 (Page 48)

NetBeans running problem
 
Hello,i am new in programming world and i am trying to use NetBeans to run C++ codes,when i am trying to run a code i have this problem: "Unable to start pty pr...
[7 replies] Last: Beyond this site (click top left) you may visit the following sites: ... (by condor)
Taking a screenshot (winapi)
 
I need some help with winapi I already posted this in the windows forum, but in my experience this one is more active^^ HDC hScreenDC = CreateDC(L"DISPLAY", ...
[7 replies] Last: Thank you again! You should really get paid to answer these questions ... (by DrZoidberg)
by TensE
How to get the last 2 digits turned into a decimal
 
I'm trying to make a program that counts change. So I ask someone how much they paid. If they enter 1234 how can I make it so the last 2 digits are counted as a...
[1 reply] : You can use a string variable for that? eg: string num=2345; num.in... (by Aceix)
by Ariamn
Integer comparison
 
Hello, in this code that I am writing everything works perfectly. Eg 5 + 5 = smaller 35 + 50 = larger -50 - 35 = larger etc But what I want it ...
[2 replies] Last: Yes, thank you. It worked. (by Ariamn)
by bluest
Removing extra spaces (1,2)
 
I was supposed to make a program that receives a string and then generates a new one, with no extra spaces in the middle, begin and end of the string. I tried ...
[22 replies] Last: Duoas, Thanks for explaining about the boolean type. Andy, I use GCC... (by bluest)
by k31453
input file c++
 
sample data: 757935403 544999979 175906848 538976380 757795452 170601773 i m trying to read this input line what it does it grab first set of integer and c...
[no replies]
Chapter 5.5.3 Error Reporting TRY THIS
 
I'm totally confused by the TRY THIS. I'm not sure what I'm supposed to do and I don't want to skip it, because if I do I know my confusion will only snowball. ...
[no replies]
Detecting number of input characters?
 
I have a program which intakes an hour input and minute input, I want to figure out how to limit the hour input to one digit, and limit the minutes input to tw...
[14 replies] Last: If you convert minss back to a string as I do in my edit above, you ... (by m4ster r0shi)
Simple array and struct help?
 
I have a 2d array with 10 strings. I have to use a struct: int num to get the numbers;
[1 reply] : Your question is unclear. Could you clarify? (by Josue Molina)
Can memory managament cause hardware problems?
 
I was just wondering whether or not poor use of memory management can lead to hardware problems. Reason I am asking is because I a lot of people warn or caution...
[2 replies] Last: Word. The OS will laugh its electronic butt off at your feeble attemp... (by Josue Molina)
Software Engineering vs Hacking
 
I often see short, "clever" hacks be glorified ubiquitously, but only by dilettantes owning dummy introductions to programming and computer science. Nevertheles...
[1 reply] : For every thousand ugly hacks, there is one http://en.wikipedia.org/wi... (by Cubbi)
little problem
 
Hello, I have a little problem with this code. It does not work properly. If I type 0's as my input for each element of an array, the output is quite weird. ...
[2 replies] Last: code which checks for unique values in a line and column. (by sgameara)
Expected unqualified-id
 
I've been working on this lab project for a few hours, and have almost all of it finsihed, but I don't understand these errors. I'm not very good at programming...
[3 replies] Last: Your error is here: double >> Homer >> std::endl; (Error here) You ... (by Mats)
Just a small problem with file handling
 
Okay so I am not so good at files, and needed some help from some of you guys The thing is that i made a snake game for my project and I gotta complete it be...
[no replies]
C++ binary file question
 
I have to read a binary file into a structure, so I allocated memory and read this binary file into myptr. How do I ouput the data myptr never gets set to null?...
[3 replies] Last: Yes. (by kbw)
Problem with my counter...using arrays
 
This code is supposed to ask the user for 5 numbers, then see if the numbers they entered match the numbers that are randomly generated. It will then see if th...
[1 reply] : Why are your function definitions missing parameter identifiers, and w... (by Josue Molina)
Help Please! structures and ifstream.
 
I'm doing a program for school. the program is a gradebook that uses structure which gets it's data from a file then displays everything needed. I tried doin...
[no replies]
Determining the number of characters, words,and paragraphs in a file
 
Hi all, I would like to write a program to count the number of characters, words, and paragraphs (or newlines) in a file. I have the characters counting corr...
[4 replies] Last: I don't see how storing the words is beneficial unless you want to use... (by cire)
Reversed values
 
Hello everyone! I have a problem with a 9th grade olympiad question and i wonder if any of you could help.... I have to read 10 values from the console and...
[5 replies] Last: what do you mean.. i think it could be given in one year at the olympi... (by fluture)
solve the assignment
 
Write your question here. solve the assignment Let’s create a class called VectorOfVectors that can stores n vectors . Whenever we instantiate an objec...
[6 replies] Last: Thank you so much Stewbond (by zia36iub)
September 2013 Pages: 1... 4647484950... 64
  Archived months: [aug2013] [oct2013]

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