Search Results

Showing results 1 to 13 of 13
Search took 0.00 seconds.
Search: Posts Made By: Democles ; Forum: C++ and child forums
Forum: C++ Aug 25th, 2009
Replies: 5
Views: 249
Posted By Democles
Those charcters are color codes for a bigger program. So we want to leave those. Thats why were skipping them. so it can have different colors. Also, they do not show in the title so if I go &rHi....
Forum: C++ Aug 25th, 2009
Replies: 8
Views: 294
Posted By Democles
There is another book that requires homework if you will before moving on to the next chapters. I found it challenging for a someone who is learn the language at first. I do not know how advanced you...
Forum: C++ Aug 25th, 2009
Replies: 12
Views: 537
Posted By Democles
Yes, I too am more of begineer when it comes to programming. You learn while experimenting basically. Don't use the book you're reading. The name itself tells you it's a fluke. I would suggest the...
Forum: C++ Aug 25th, 2009
Replies: 5
Views: 249
Posted By Democles
For some reason it seems like it's not skipping & and or maybe it's also counting the last &. The whole idea is to make it resize to the maximum charcters. in this case it's 24. and not count the &...
Forum: C++ Aug 25th, 2009
Replies: 5
Views: 249
Posted By Democles
I am stuck in way with the for loop at the end. The whole idea is to count up to gscreenwidth and then resize the string to make it cut off at 24. We want it to skip the &w or &W anything with an &...
Forum: C++ Aug 23rd, 2009
Replies: 2
Views: 309
Posted By Democles
I'm having trouble making a function that centers my results. I cannot find much information depicting how this works exactly. I've found small functions but nothing like I'd like to do. My whole...
Forum: C++ Jul 24th, 2009
Replies: 7
Views: 325
Posted By Democles
I want to pad both sides. Being able to center more than one line. what if it was 20 lines?
Forum: C++ Jul 24th, 2009
Replies: 7
Views: 325
Posted By Democles
Never thought of doing it that way. I want to take the string and center it on the line. For example assuming the screen width is 80. I want to take the string and set my padding on both sides of...
Forum: C++ Jul 24th, 2009
Replies: 7
Views: 325
Posted By Democles
Basically the idea is to center a string. I selected the total length to equal 80. I know there is no fail safe placed into this program. I know there is another way to do this. I am stuck in a way....
Forum: C++ Jul 7th, 2009
Replies: 1
Views: 203
Posted By Democles
Hello,
I am trying to compile a set of files. I got fustrated to the point of taking the actually instructor files from the book and compiled them. I am using AndLinux and the g++ compile to run my...
Forum: C++ Jul 1st, 2009
Replies: 6
Views: 392
Posted By Democles
I'm not sure, but I don't think that works. I probably have to use the compare command.

This is my revised code. maybe my for loop is wrong?


#include <iostream>
#include <string>
#include...
Forum: C++ Jul 1st, 2009
Replies: 6
Views: 392
Posted By Democles
Is there a way to do without the compare? I am unfamiliar with this function and it wasn't explained. Lets just say the user types Done in the console.
Forum: C++ Jul 1st, 2009
Replies: 6
Views: 392
Posted By Democles
I am attempting to take names and weights from strings and just simply output them. For some reason it can't get out of the while loop, it just sets there waiting for the users to input names and...
Showing results 1 to 13 of 13

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC