Mine was on the old boards, asking the best way to access a PAB file. I am still awaiting a response.
Mine was on the old boards, asking the best way to access a PAB file. I am still awaiting a response.
I don't recall asking a question for quite a while. Hell, I don't ever remember asking a question. But I do remember making quite a few posts that make me cringe. I wasn't exactly a genius with C, it's a wonder I didn't get burned very much for being stupid. I don't remember if my very first was on the old boards or not, but I had to dip into the archives to find my first here (edited because the archives remove formatting):
It could have been worse, I suppose.Code:Prelude 09-11-2001, 02:57 PM void func_name() void as a return type should be used when everything you plan to do with the data in the function is to be used only in that function. Should you choose to give the function parameters, such as adding two numbers: void add_two(int x, int y) then you plan to add your two numbers and then if you want to print them you would do so inside that function. int func_name() A data type besides void tells the function that it is to send an item of data back to the part of your program that called the function. Say you call this function with a return type int from main(): int add_two(int x, int y){ int sum; //do stuff return sum; } using return sum; you told the function to send sum back to main where you can assign it to a variable local to main and then print it out or modify it. sum itself does not change until you call the function again, you just give the value of sum to another variable so that you can use it in main. You can send any number of data types back to the function that called your function. int, char, float, double, pointers, etc... Here's the full program to add two numbers using a return type of int: #include <stdio.h> int add_two(int x, int y); int main(){ int one, two, three; printf("Enter two numbers: "); scanf("%d%d", &one, &two); three = add_two(one, two); three++; printf("The sum of your two numbers is %d", three); return 0; } int add_two(int x, int y){ int sum; sum = x + y; return sum; } The output of this program is the sum of the two numbers the user entered in plus one. Hope that helps -Prelude
My best code is written with the delete key.
Haha, Prelude diligently answers questions as the terrorist attacks occur. This is the kind of leadership we need!
-Govtcheez
[email protected]
http://cboard.cprogramming.com/showt...5&page=2&pp=15
Who knows(I like how I sounded like I knew, JUST how long it took to become an expert at all the information covered on that site )
The world is waiting. I must leave you now.
Originally Posted by Govtcheez
wow... I'm surprised my first post was to help somebody:
http://cboard.cprogramming.com/showthread.php?t=39464
I was referred here by a friend I knew in High School... He hasn't posted here in years...
Join is in our Unofficial Cprog IRC channel
Server: irc.phoenixradio.org
Channel: #Tech
Team Cprog Folding@Home: Team #43476
Download it Here
Detailed Stats Here
More Detailed Stats
52 Members so far, are YOU a member?
Current team score: 1223226 (ranked 374 of 45152)
The CBoard team is doing better than 99.16% of the other teams
Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)
Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT
>Haha, Prelude diligently answers questions as the terrorist attacks occur.
I didn't even notice the date on that post.
My best code is written with the delete key.
Here was my first thread (post):
Now i have like 50 books, and Visual C++ .net. Very odd how life passes by.A little help
--------------------------------------------------------------------------------
05-25-2005, 07:34 PM Hey, I am a new member. Also, i'm new to programming. I just wanted to know if my software & book are good sources to learn from. The software is called Borland C++ & Data Tools v4.5. The book is called An Introduction to Computer Science with C++. I am pretty sure the software is a little outdated (1997?). Just wondering if this would be a good place to start. Thanks.
You bought 50 C++ books in 7 months?
Sent from my iPadŽ
No, lol, i'm just exagerating. I have like 5....so if you times that by 10 it would equal 50. I want to be so good at programming that my milk dances for me but it's going to take a while......wait i don't drink milk. LOL
It's not my powers in programming that makes my milk dance for me... I just managed to sneak some of that goo off the set of Ghostbusters 2. It really works.
Sent from my iPadŽ
My first post was a question. I suppose it could have been worse.
-psychopath
M.Eng Computer Engineering CandidateB.Sc Computer Science
Robotics and graphics enthusiast.
Mine was definitely a question, and pretty embarrasing at that:
http://cboard.cprogramming.com/showthread.php?t=62386
(I don't know how to make a word in the post into a link.)
I noticed that he was still on the list of moderators, but hadn't posted in a while (I pretty much stay on the C++ board so he could have been posting elsewhere), changed the title to banned and lost the avatar.I believe Salem's title is just a joke - he's not banned.
I half-expected him to be waiting for someone to ask why he was banned before he started posting again.
There is a difference between tedious and difficult.
yah we had a post about it, I had my thing say banned for a while. It's funny.
Hmm
http://cboard.cprogramming.com/showthread.php?t=4860
My first thread.
I made two answer posts before that.
c++->visualc++->directx->opengl->c++;
(it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)