10-29-2007, 06:59 PM
|
#21
|
Director of the HFBI
Join Date: Sep 2004
Location: Calgary
|
Quote:
Originally Posted by TheyCallMeBruce
Well, I wrote it off the top of my head. That's pretty good considering I haven't touched c++ in 6 years.
Plus why should I remember c++. I make more than programmers anyway :P
|
I got that drilled into me constantly. I use to read comp.lang.c, and if you think people are nazi's regarding grammar, what have you here.. that place was crazy.
Anyway.. dude, if you need help with those questions, you are in serious trouble.
__________________
"Opinions are like demo tapes, and I don't want to hear yours" -- Stephen Colbert
|
|
|
10-29-2007, 07:03 PM
|
#22
|
Likes Cartoons
|
Quote:
Originally Posted by arsenal
I got that drilled into me constantly. I use to read comp.lang.c, and if you think people are nazi's regarding grammar, what have you here.. that place was crazy.
Anyway.. dude, if you need help with those questions, you are in serious trouble.
|
haha, I believe it.
|
|
|
10-29-2007, 07:03 PM
|
#23
|
Backup Goalie
Join Date: Jan 2006
Exp:  
|
Quote:
Originally Posted by arsenal
you fail. main must always have a return type int.
|
Not true. Just void the function and it won't return anything.
|
|
|
10-29-2007, 07:04 PM
|
#24
|
Playboy Mansion Poolboy
Join Date: Apr 2004
Location: Close enough to make a beer run during a TV timeout
|
I think we've been a little too hard on the guy- who came on asking a legit question. For example I was not ready for all the modem questions on my MCSE exam. I had no fewer than 7 questions about troubleshooting twin 56K modems; none of which had a multiple choice answer of "Call Shaw if you are a Network Admin trying to VPN in from home all the time."
It may not be that he doesn't know it, but if I had an employment test with Shaw; I may want to know if its wise to brush up on my TCP/IP.
|
|
|
10-29-2007, 07:05 PM
|
#25
|
Director of the HFBI
Join Date: Sep 2004
Location: Calgary
|
Quote:
Originally Posted by if.away
Not true. Just void the function and it won't return anything.
|
that isn't part of the standard.
main must always return int.
And in Bruce's example, he was returning 0 to a void function is incorrect.
__________________
"Opinions are like demo tapes, and I don't want to hear yours" -- Stephen Colbert
|
|
|
10-29-2007, 08:38 PM
|
#26
|
Scoring Winger
|
can't believe we are debugging C code....
|
|
|
10-29-2007, 09:25 PM
|
#27
|
Director of the HFBI
Join Date: Sep 2004
Location: Calgary
|
its a slow night...
__________________
"Opinions are like demo tapes, and I don't want to hear yours" -- Stephen Colbert
|
|
|
10-29-2007, 09:37 PM
|
#28
|
n00b!
|
Quote:
Originally Posted by CaptainCrunch
pee in a cup, don't let it splash over the side.
|
lol not sure why, but this really got me laughing
|
|
|
10-29-2007, 09:41 PM
|
#29
|
First Line Centre
|
Quote:
Originally Posted by Fobby
can't believe we are debugging C code....
|
C++ code.... n00b!
|
|
|
10-29-2007, 09:59 PM
|
#30
|
Powerplay Quarterback
|
How much does Shaw pay? (Not that I'm currently looking)
|
|
|
10-29-2007, 10:04 PM
|
#31
|
Scoring Winger
|
shaw? not a whole lot.. telus pays more.
|
|
|
10-30-2007, 12:20 AM
|
#32
|
It's not easy being green!
Join Date: Oct 2001
Location: In the tubes to Vancouver Island
|
Explain to me the difference between UDP and TCP/IP.
Who programs to ISO?
And any good C++ programmer will use almost 90% C code to go in a class.
But TheyCallMeBruce does fail his main function doesn't declare a return type so it wouldn't even compile
I'm a java programmer now.
Code:
public class PostFormatter
{
private String m_strText;
public PostFormatter( String s )
{
if( s.contains(" u ") )
{
s.replace(" u ", " you " );
}
m_strText = s;
}
public String getPostText()
{
return m_strText;
}
public void setText( String s )
{
if( s.contains(" u ") )
{
s.replace(" u ", " you " );
}
m_strText = s;
}
}
__________________
Who is in charge of this product and why haven't they been fired yet?
Last edited by kermitology; 10-30-2007 at 12:26 AM.
|
|
|
10-30-2007, 12:26 AM
|
#33
|
It's not easy being green!
Join Date: Oct 2001
Location: In the tubes to Vancouver Island
|
Quote:
Originally Posted by Phaneuf3
C++ code.... n00b!

|
C++ is just C with objects and crap.
__________________
Who is in charge of this product and why haven't they been fired yet?
|
|
|
10-30-2007, 01:27 AM
|
#34
|
Director of the HFBI
Join Date: Sep 2004
Location: Calgary
|
Quote:
Originally Posted by kermitology
C++ is just C with objects and crap.
|
you can leave the "C with objects and" part 
As far as OO goes, there are a lot better choices out there.
And as far as who codes to ISO standards? That depends on what you are programming. You "should" code to ISO if you can, at least in my opinion. It leaves less room for errors.
wow.. we have really gotten off topic here haha.
__________________
"Opinions are like demo tapes, and I don't want to hear yours" -- Stephen Colbert
|
|
|
10-30-2007, 03:29 AM
|
#35
|
Basement Chicken Choker
Join Date: Jan 2007
Location: In a land without pants, or war, or want. But mostly we care about the pants.
|
Quote:
Originally Posted by ken0042
I think we've been a little too hard on the guy- who came on asking a legit question.
...
It may not be that he doesn't know it, but if I had an employment test with Shaw; I may want to know if its wise to brush up on my TCP/IP.
|
Bah! That's what's wrong with too many techs already - they ask questions about what should be blindingly obvious to anyone with logical skills, never mind technical ones. I hate those people who say "there's no such thing as a dumb question", 'cause I assure you that any question that takes longer to ask, than to either deduce or look up the correct answer yourself is, in fact, a dumb one.
People who call Shaw for tech support are going to be having problems with their Internet connection - does it take a genius to know that they are going to need people who know the basics of TCP/IP, subnetting, low-end home routers, Windows networking configuration, and similar topics? Does it take another genius to realize that, being Shaw, if you can scrawl your name on your test with the same spelling you used on your resume, they will probably hire you regardless of how you do on the test?
Honestly, if you have ever talked to Shaw for support you know that for every decent tech, there are 4 others whose main accomplishment every day is getting out of the shower without either falling or putting the soap bar up their nose. If you know that Shaw starts with an S, and has 4 letters, you can probably pass any "test" they might see fit to administer.
|
|
|
10-30-2007, 05:41 AM
|
#36
|
Franchise Player
Join Date: Nov 2006
Location: Supporting Urban Sprawl
|
Quote:
Originally Posted by arsenal
that isn't part of the standard.
main must always return int.
And in Bruce's example, he was returning 0 to a void function is incorrect.
|
Doesnt C99 allow for main to return void? or is that just functions? I have only ever had to use C for one course and half the time I spent trying to figure out why my java syntax wouldn't work.
__________________
"Wake up, Luigi! The only time plumbers sleep on the job is when we're working by the hour."
|
|
|
10-30-2007, 08:09 AM
|
#37
|
Scoring Winger
|
We should now all write in Eiffel...
But a lot of times, you need to know how to do the basic stuff as a shaw TSR... I once got asked if my power bar was plugged in. If my computer is on, and if the lights are blinking. So you need to be able to tell them how to check them if you are talking to someone who does not know how to operate a computer.
"Plug in the Rj45 into the NIC" will probably confuse a lot of people.
Last edited by Fobby; 10-30-2007 at 08:11 AM.
|
|
|
10-30-2007, 08:28 AM
|
#38
|
First Line Centre
|
lol @ jammies post. It's funny cause it's true.
________
GREY'S ANATOMY FORUMS
Last edited by NuclearFart; 04-16-2011 at 09:47 PM.
|
|
|
10-30-2007, 08:32 AM
|
#39
|
Director of the HFBI
Join Date: Sep 2004
Location: Calgary
|
Quote:
Originally Posted by Rathji
Doesnt C99 allow for main to return void? or is that just functions? I have only ever had to use C for one course and half the time I spent trying to figure out why my java syntax wouldn't work.
|
No. main must always return an int. Functions where always able to return void.
__________________
"Opinions are like demo tapes, and I don't want to hear yours" -- Stephen Colbert
|
|
|
10-30-2007, 08:50 AM
|
#40
|
It's not easy being green!
Join Date: Oct 2001
Location: In the tubes to Vancouver Island
|
Quote:
Originally Posted by Rathji
Doesnt C99 allow for main to return void? or is that just functions? I have only ever had to use C for one course and half the time I spent trying to figure out why my java syntax wouldn't work.
|
It's still wrong because you MUST define the return type.
__________________
Who is in charge of this product and why haven't they been fired yet?
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -6. The time now is 05:38 PM.
|
|