Beginners - October 2009 (Page 22)

Srecord file parsing
 
hi.. i have an s-record file as: S315080001100060A0E30070A0E30080A0E30090A0E3E5 where S3: Type, 15: # of bytes, then 4 byte address and rest is data i wa...
[2 replies] Last: You may want to look into libGIS: http://dev.frozeneskimo.com/softw... (by sparkyengr)
Console never opening
 
Ok, what code causes a console to spawn to begin with? I am writing a console app, but it requires no user input, so there really is no purpose of having the co...
[3 replies] Last: When you execute a Windows program the operating system is what create... (by mackabee)
new beginner to C++
 
I am new to C++ and I need help doing my assigments. I know that it is gona seem so much but I really like C++ and I am really working on my self to learn so...
[5 replies] Last: 3) #include <iostream> int main() { double hours = 0; ... (by mcleano)
by kat478
Change Terminal Background Color in OS X
 
I'm looking for a way to change the background color of the terminal window in Mac OS X. For example, I want to be able to do something like 'SetColor(Red)' to ...
[no replies]
checking if cin still have more strings in input stream
 
Hello, Im writing a program on a Unix machine which accepts input using only "cin >>", the inputs look something like this: hello world test out Once I ha...
[1 reply] : Yes. A stream has a state and can be good, bad or failed I think. ... (by kbw)
by ktate
What am I doing wrong
 
This is my first time asking the internetz for programming help, so bear with me. I have looked around for a while but cannot find a solution to my problem. ...
[3 replies] Last: In the class declaration you can only say what members are present, yo... (by goodvikings)
Banking
 
ok I am very new to C++. This is like the 2nd time I am writing a program. I need to write a simple banking program that you can deposit withdraw and see your b...
[12 replies] Last: ok i got it working thanks to everyone (by thebeast)
Flash Collision Detection
 
Overlooking the following code for collision detection in Adobe Flash, I'm confused as to the function of line trace("shape hit " + i++); . What does the funct...
[2 replies] Last: Trace outputs what ever you tell it to, but The output is only shown a... (by Fsmv)
Calculating the shortest path
 
Hello guy.. i was wondering if there is any function which given a range of number you can calculate the shortest path!!!!!!
[5 replies] Last: http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm (by helios)
by ztein
Declaring an array of structures
 
The point of the program is to create a structure CandyBar, fill it up with members(name, weight, calories), construct an array of 3 more CandyBar structures, i...
[8 replies] Last: Yep, I'm about to learn loops. (by ztein)
Overloaded Opeartor
 
So I finished my code, however, it doesn't seem right to me and there may be something off with the Average Times. I need another set of eyes to see if the aver...
[3 replies] Last: Okay, so I changed some things around but want you guys to take a look... (by byu1212)
Custom Sub-Includes??? (Like <gtk/window.h>)
 
Ive noticed in tutorials and such, people only including bits of a library. Like #include <gtk/window.h> instead of just #include <gtk>. Is this special to the ...
[4 replies] Last: Ahh right ok. Would this work, it seems to be set out that way in some... (by SteadyEdd)
whats wrong with this code
 
#include<conio.h> #include<iostream.h> main() { clrscr(); char name , selection; float q1,q2,qav,att,me,av; cout<<"My Grading Sheet"; cout<<"\nEnte...
[3 replies] Last: For one, selection is never initialized. (by seymore15074)
Embed a file in application
 
There is an application already written that performs one of the functions I want my application to preform. Rather than re-invent the wheel, I would like to em...
[5 replies] Last: would this help? http://www.codeguru.com/forum/showthread.php?t=31244... (by wachtn)
by rej3kt
FOR Loop statement
 
My FOR loop statement doesn't work with any 4digit number, it works with 100 but not 1000 which is what I need it to count down from, I don't understand why it'...
[8 replies] Last: Intended to prints meow 5 times on each line. Sorry, didnt get a mome... (by wachtn)
by ztein
I/O program skips question/omits output
 
#include <iostream> using namespace std; struct form { char firstName ; char lastName ; char gradeLetter ; int age; }person; int main() { //...
[8 replies] Last: mcleano: You know you shouldn't be accessing members like that don't... (by mcleano)
Counting characters in several files
 
I want to know how many characters, words or lines I've got in my source code for something else I'm writing without having to count each file separately and th...
[9 replies] Last: Ok, thanks :) Any ideas about the characters/words issue? Words is ... (by chrisname)
Query Regarding File I/O
 
Hi .. I want to read a file... its easy to read.. but i have to read and put the data it into a seperate variable..for that i have to separate the commas...
[1 reply] : Read the file one line at a time (getline) into a std::string. Then, ... (by jsmith)
by j123
Equivalent Petzold like book for Linux???
 
Please reply with recommended reading list for programming Linux GUI environment similar to what Petzold did for Windows. In other words please recommend one o...
[1 reply] : What GUI library do you want to use? You could buy the entire serie... (by jsmith)
While loop
 
Can anyone help me in making a code that displays the integer 1 to 20 with only 4 numbers per line using only a while loop. ex: 1234 5678 ... etc..
[15 replies] Last: got it haha thanks (by metalheadrenzo)
October 2009 Pages: 1... 202122232425
  Archived months: [sep2009] [nov2009]

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