Thread: Complete Beginner taking Intro to Programming Concepts

  1. #1
    Registered User
    Join Date
    Sep 2017
    Posts
    37

    Complete Beginner taking Intro to Programming Concepts

    Hello, I'm taking this class online at Valencia and I am currently very confused.

    Our second assignment is to create some code based on the concepts we learnes in a video. Currently I've learned Input and Output and Arithmetic code using int and double.

    The professor uses system("pause") to end the line, but I am not able to execute it at all. Can anyome show an example? thank you. I use Windows 10.

    I tried using Visual Studio 2017, but cannot find the win32 console application the professor used. Therefore, I used DevC++. Can one list how to create a new project with the win32 console application?

    Sorry for my terrible vocabulary, I'm having trouble understanding the terms.

  2. #2
    Registered User
    Join Date
    Sep 2017
    Posts
    37
    Also, how do I use scanf and printf correctly? thanks

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Creating a Console Application

    I hope the dev-c++ you got is this one -> Dev-C++ download | SourceForge.net
    And not the obsolete bloodshed version.

    > Also, how do I use scanf and printf correctly? thanks
    1. Read the manual pages to find out what each format conversion does.
    2. Make sure your formats and parameters match up.

    This is considerably easier if you use dev-c++, because it uses the GCC compiler. GCC can check that your formats and parameters are consistent.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Banned
    Join Date
    Aug 2017
    Posts
    861
    is that one better than codeblocks?

  5. #5
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,739
    Quote Originally Posted by userxbw View Post
    is that one better than codeblocks?
    I would say no but I'm biased in favor of codeblocks, I use it for everything.
    Devoted my life to programming...

  6. #6
    Registered User
    Join Date
    Sep 2017
    Posts
    37
    Quote Originally Posted by Salem View Post
    Creating a Console Application

    I hope the dev-c++ you got is this one -> Dev-C++ download | SourceForge.net
    And not the obsolete bloodshed version.

    > Also, how do I use scanf and printf correctly? thanks
    1. Read the manual pages to find out what each format conversion does.
    2. Make sure your formats and parameters match up.

    This is considerably easier if you use dev-c++, because it uses the GCC compiler. GCC can check that your formats and parameters are consistent.
    Thank you for the response. Thanks to your link, I was able to find the win32 console application (I didn't download it).

    And yes, I installed dev c++ from sourceforge. I've read to not use the bloodshed one.

  7. #7
    Banned
    Join Date
    Aug 2017
    Posts
    861
    Quote Originally Posted by GReaper View Post
    I would say no but I'm biased in favor of codeblocks, I use it for everything.
    that is what I am using ( code::blocks) from geany, and GCC which I still use for quick write up to check something.
    thought CB did windows too though.
    OP what are U using ? windows compiler don't they cost money? hehe
    Last edited by userxbw; 09-22-2017 at 03:20 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. program taking too long to complete
    By V8cTor in forum C++ Programming
    Replies: 2
    Last Post: 12-26-2014, 01:37 PM
  2. Intro to C programming help
    By bluebrandon in forum C Programming
    Replies: 3
    Last Post: 01-31-2012, 08:59 PM
  3. intro to c programming assignment help
    By aargoo in forum C++ Programming
    Replies: 3
    Last Post: 10-26-2010, 05:47 PM
  4. Intro to embedded programming
    By ohanna in forum C Programming
    Replies: 6
    Last Post: 03-13-2008, 03:16 PM
  5. Intro To Programming...need Advice Plz
    By dox82 in forum C++ Programming
    Replies: 2
    Last Post: 06-11-2003, 12:25 PM

Tags for this Thread