Like Tree3Likes

New to programming - Lack math skills

This is a discussion on New to programming - Lack math skills within the C Programming forums, part of the General Programming Boards category; Originally Posted by anduril462 Nice, looks pretty good. One correction to your formulas..... Ok. This is why I need to ...

  1. #16
    Registered User
    Join Date
    May 2012
    Posts
    10

    ??

    Quote Originally Posted by anduril462 View Post
    Nice, looks pretty good. One correction to your formulas.....
    Ok.
    This is why I need to understand things better.
    I dont like using formulas and functions I don't fully, understand so..... I will keep practicing.
    I thought that it was the difference between the top and low percentages. So, instead it IS the percentages.?..?.
    As for the 40, that was just me being brain dead overwhelmed by code.

    This might be in the wrong post, but since we are all here......


    Like I said Im new to this.
    I' pretty literate with HTML, and CSS. I am currently learning Javascript.

    But what exactly can I do with C. I originally took the class because I heard that it would help me better understand other languages.
    My teacher told me that a c programmer NEVER uses scanf.
    He does database stuff.
    So if a lot of c programmers dont get user input, where do they get the input from.
    And I know it is used for networking applications, but what else.

    Can I call and or control other programs with c?

    I know c is works on all OS's so cant I create apps for mac and linux?

    And my main question for my teacher, which he said shouldn't be done with c, is GUI.
    I just have a hard time wrapping my mind around programs that the user doesn't somehow interface with.
    So is c usually all background programs?
    Is there generally never a GUI with c?

    Maybe Im posting in the wrong threat, let me know and I will post another thread if this is the case.

    Regardless, thanks so much for the help.

  2. #17
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,743
    Quote Originally Posted by EdMarx
    My teacher told me that a c programmer NEVER uses scanf.
    He does database stuff.
    So if a lot of c programmers dont get user input, where do they get the input from.
    Maybe the input is obtained by reading into a string (e.g., using fgets) which is then parsed in various ways, e.g., by using sscanf.
    Maybe the input is a command line argument, which perhaps might be a file name upon which further input is read from file.
    Maybe the input is through a GUI.
    Or, just maybe, scanf is used because its pitfalls are deemed not particularly relevant for the given piece of code. (That is, "never" is too strong a word.)

    Quote Originally Posted by EdMarx
    Can I call and or control other programs with c?
    Once you have the required knowledge, yes.

    Quote Originally Posted by EdMarx
    cant I create apps for mac and linux?
    Once you have the required knowledge, yes.

    Quote Originally Posted by EdMarx
    And my main question for my teacher, which he said shouldn't be done with c, is GUI.
    Why don't you ask him to explain why a GUI should not be done in C?

    Quote Originally Posted by EdMarx
    I just have a hard time wrapping my mind around programs that the user doesn't somehow interface with.
    A GUI is certainly not the only possible user interface.

    Quote Originally Posted by EdMarx
    So is c usually all background programs?
    I am not sure what you mean by "usually all background programs" as it sounds like an oxymoron. Do you mean to ask if the usual use of C is to write "background programs", or if "background programs" are usually written in C?

    For the former, I would say no, but then "usual" is ambiguous; for the latter, it depends on what you mean by "background programs".

    Quote Originally Posted by EdMarx
    Is there generally never a GUI with c?
    No, but generally C is not the best programming language in which to develop a GUI.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Math Programming in C++
    By spiderman45144 in forum C++ Programming
    Replies: 0
    Last Post: 10-20-2005, 08:40 AM
  2. what are some other 'life skills' that can go hand in hand with programming
    By Shadow12345 in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 01-17-2003, 01:34 PM
  3. Math and Programming
    By RoD in forum A Brief History of Cprogramming.com
    Replies: 38
    Last Post: 10-08-2002, 08:18 PM
  4. Need math skills
    By Megatron in forum C++ Programming
    Replies: 4
    Last Post: 02-21-2002, 11:04 AM
  5. math programming
    By Unregistered in forum C Programming
    Replies: 5
    Last Post: 01-28-2002, 06:18 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21