- Upvotes Received
- 6
- Posts with Upvotes
- 5
- Upvoting Members
- 6
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
Re:
So.. Google are going ahead with their 'Go' programming language - "a cross between C++ and Python". [URL="http://bit.ly/4msbSJ"]Article[/URL] [URL="http://golang.org/"]Official site[/URL] Not sure what my thoughts are on it yet. What does everyone else make of it..? |
|
isalpha and ispunct work punctiliously, but isspace spaces out. [CODE] cout << "Please enter an integer: "; cin >> str; int bogus = 0; for (int i = 0; i < str.length(); i++) { char temp = str.at(i); if (isalpha(temp) || isspace(temp) || ispunct(temp)) { cout << "Please try again!" … |
|
This seems simple, but it's not working. There IS a text file in the same directory, but it's not being opened (and with the ios::in | ios::out, it should open even if it doesn't exist). I also ran into trouble trying to use infile.fail, which is why I used !infile. … |
|
I seem to be inventing my own syntax here. The idea seemed simple enough: use the keyword 'new' to allocate space for a new integer array, and populate it with a few integers. Where have I gone wrong? [CODE] #include <iostream> using namespace std; const int SIZE = 5; int … |
|
If I uncomment the 'int x;' above main, and comment out the int x = 0 inside of main, it works, but I don't want to use global variables. What I can't understand is why x is out of scope. The text I'm using says “vars having local or block … |
|
Re:
[URL="http://www.codinghorror.com/blog/archives/000781.html"] This [/URL] is a little hard for me to believe. Thankfully, I am not one of those applicants, nor ever will be. |
|
Restarting C++ class after lengthy break, seems I've forgotten a lot. I can't seem to get a cout to indicate that a file record has been read. I created a text file of just one record to keep it simple: an SS number, first and last names, and five exam … |
|
Re:
Hi, When talking with Dani this past week or so on ICQ, I found out that on the East Coast, where she lives, they do a lot of eating out, and not much cooking. As the conversation unfolded, I found out that Dani hasn't cooked much at all, and decided … |
|
I think the pieces, taken separately, are okay, but they don't seem to play together well. [CODE] //lab12: This program requests input of ten employee names and salaries; //a file is created and they are written into it, and the file is closed. //The file is then reopened and the … |
|
I thought I was following a recipe that worked, but not so. Can someone explain to me why this does not compile? (And I have yet to include a couple of constructors!) - Thanks, Rich. [CODE]//CIS 180 Rich Mansfield 0457321 12/6/09 //Lab11.1 - This program illustrates the use of classes … |
|
Re:
Here are my favorite geek quotes I have a couple of shirts with some of them on. P.S I don’t suggest wearing a shirt with #15 to school if you are still stuck in those rat holes like me. 1. There is no place like 127.0.0.1 2. There are 10 … |
|
Re:
Well guys i wana know that what is your favorite movie. For me mine personal favorite is "Prediator". What are yours? |
|
Everything below works the first time through, and the validation of the user's choice to proceed or not works, as does his choice to quit; but when it gets to cin.getline it just blows right through it without waiting for input. As my parents used to say, Where have I … |
|
I got interested in writing these small apps, so I started with C++; my next class will be doing C++ for object-oriented programs. After that, it looks like I'll have to go slideways and take an iTunes University course from Stanford, because they're the only ones I know of that … |
|
I got not one but two good answers to my last question, which was how to make a function that would both create an array and fill it. I was surprised to find that the first one of them was so simple - I had been making it harder than … |
|
Hi - I'm having a problem converting a couple of things that work fine spelled out in function main, but not when I try to define them as functions. One is a process of filling in a one-dimensional array. I'd like to just be able to say "here's the array; … |
|
I come to this space after a long journey. Back in 1978, when I was driving down Hawthorne Blvd in Redondo Beach (California), I saw a sign that said "Byte Shop", and made a fast u-turn, thinking, "You mean I can buy my own computer?!!". Fifteen minutes and $1200 bucks … |
|
Re:
Do u still read today? I mean, in today's world, do u still read books? The printed books? |
|
Re:
I need a topic for an argumentative essay... I want to do it about either technology or programming please help! |