Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
c-advice
- Page 1
Re: ASUS Laptops - my experience
Hardware and Software
1 Month Ago
by Reverend Jim
… running into problems. I've seen
advice
like this before but typically there is no
advice
on how to determine how much… space is enough. Fortunately, I have determined over the years how big my
C
…
C advice requered
Programming
Software Development
18 Years Ago
by peter_budo
… of certain name(not exactly, you have to complile score.
c
program and on command line pass name of file which…\n"); break; default: break; } }while( status != 4); }[/CODE] SCORE.
C
[CODE]#include<stdio.h> #include<sys/types…
Re: C advice requered
Programming
Software Development
18 Years Ago
by perniciosus
… were doing with exec, but I suppose you compile score.
c
to score.out... you never return from exec btw so…
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by Narue
>
C
is not the be-all end-all of programming languages. Blasphemy! :twisted:
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by Ancient Dragon
>>
C
is a small language, and is best served by a small book but it has an abnormally huge price! Just because K&R was written by the language's authors doesn't mean it is any better than books twice as big and half the price. That K&R book with white cover is grossly overrated.
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by Narue
… of a container class you use. This is actually good
advice
, though I would have worded it differently: "Prefer the… over generic alternatives." Be careful with how you present
advice
, because if you aren't careful, you'll cause more…
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by brahle
… of a container class you use. This is actually good
advice
, though I would have worded it differently: "Prefer the… over generic alternatives." Be careful with how you present
advice
, because if you aren't careful, you'll cause more…
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by brahle
… the rules. However, this is quite irrelevant to your faulty
advice
because 1) you're just plain wrong, and 2) most… to be talking to someone who knows way more about
C
++ than you do. >and scanf() and printf() from their… at compile time?[/QUOTE] You say you know more about
c
++ than a man who is included in the development of…
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by Bench
… than the ugly
C
-style code which results in the use of printf. Especially when considering that the '
advice
' has been directed… to a forum populated with many learner programmers, students, and
C
++ beginners.
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by Narue
… the rules. However, this is quite irrelevant to your faulty
advice
because 1) you're just plain wrong, and 2) most… to be talking to someone who knows way more about
C
++ than you do. >and scanf() and printf() from their…
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by brahle
… the rules. However, this is quite irrelevant to your faulty
advice
because 1) you're just plain wrong, and 2) most… to be talking to someone who knows way more about
C
++ than you do. >and scanf() and printf() from their…
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by Narue
… a loop constant of 100,000,000. :rolleyes: Your initial
advice
is sound in the proper context, but you're lacking… in a technical debate with me on the details of
C
++. By the way, I'm still waiting for your response…
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by Narue
>You say you know more about
c
++ than a man who is included in the development of …, my friend. I've proven that I know more about
C
++ implementations than you do, since the performance aspects aren't… you've had any significant part in the development of
C
++, that wouldn't change the fact that you're wrong…
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by brahle
[QUOTE=Narue]>You say you know more about
c
++ than a man who is included in the development of …, my friend. I've proven that I know more about
C
++ implementations than you do, since the performance aspects aren't… you've had any significant part in the development of
C
++, that wouldn't change the fact that you're wrong…
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by Narue
… change the subject. >I never mentioned I am in
C
++ development team!!!!!!!!!! Oh? [quote=brahle] You say you know …more about
c
++ than [B][COLOR=Red]a man who is included in… it also strongly implies that you've been on a
C
++ development team, or the standards committee itself. Or were …
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by jwenting
what makes me wonder is what competition judge would give high marks for someone using
C
style (IO) routines in a
C
++ application where a
C
++ alternative is available. Programming style is highly important in most competitions, and that's exceedingly poor style.
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by brahle
… give high marks for someone using
C
style (IO) routines in a
C
++ application where a
C
++ alternative is available. Programming style is…
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by Ancient Dragon
I will agree that when writing
c
++ program use
c
++ stream classes and not resort to
C
. There are many benefits to using streams than just a few micro-nanoseconds speed. I wouldn't have even posted in this thread had I not read Narue's test and tried it on my own computer. I haven't used STLPort or boost libraries, so no comment there.
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by iamthwee
>I will agree that when writing
c
++ program use
c
++ stream classes and not resort to
C
. But we all knew that. It…
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by agiorgio
Narue, I am amazed at the depth and breadth of your
C
/
C
++ knowledge. You truly make this board worth reading. On a different note, I think I need to break the rust off my
C
++ skills. Your code makes me realize that
C
is not the be-all end-all of programming languages.
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by agiorgio
[QUOTE=Narue]>
C
is not the be-all end-all of programming languages. Blasphemy! :twisted:[/QUOTE] That's what my boss says :) Still, spending the last five years writing low-level
C
code has given me a strong affinity for the language. K&R were right -
C
is a small language, and is best served by a small book.
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by brahle
[QUOTE=Narue]I never mentioned I am in
C
++ development team!!!!!!!!!! Oh? This implies strongly that the man you'… it also strongly implies that you've been on a
C
++ development team, or the standards committee itself. Or were you…
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by WolfPack
[QUOTE=brahle]And, btw, have you heard for a coder SnapDragon? He's such a good competitior that he recently stared in the film 'Rent'.[/QUOTE]This is out of
C
/
C
++. But do you mean the Musical called Rent? Starring Mark Cohen?
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by Narue
… as well. I have a large number of books on
C
, which I've read cover to cover, and I can… safely say (barring the
C
standard itself) that I value K&R the most.
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by Narue
>The man was standing right next to me. Then tell him he needs to brush up on his
C
++, or learn to explain things adequately to inadequate people. Because either all of my comments apply to him, or you simply don't understand what he told you well enough to argue your point with someone who knows the subject matter better than you.
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by Narue
… naive tests with older tools define the current state of
C
++. >I think it is you all the time who…
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by Ancient Dragon
…] printf: 9.75 cout: 10.359 [/quote] compiled with Visual
C
++ 2005 Express editiion in release mode. One problem with such…
Re: C++ advice (scanf/printf)
Programming
Software Development
18 Years Ago
by Narue
… only increase as implementors get better at taking advantage of
C
++. >And I would be supprised if *nix computers was…
Re: C advice requered
Programming
Software Development
18 Years Ago
by peter_budo
hmm, this sorted my problem with print order, but come new problem. This how [I]newGame[/I] function in main program looks like [CODE]void newGame() { int cid; if((cid = fork())==0) { execl("score.out","score.out","score",NULL); perror("Didn't work."); } wait( cid); }[/CODE]…
Re: C advice requered
Programming
Software Development
18 Years Ago
by peter_budo
Sorted out, found my mistake. Thank you for your help again :cheesy:
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC