Author Topic: Unknow option 'v'  (Read 3951 times)

NxKid

  • Guest
Unknow option 'v'
« on: May 08, 2009, 09:10:56 pm »
Hi, I'm a total newb in C programming but wanted to try it and get into it. I installed Codeblocks and started a new project 'Hello World' but when I hit F9 to compile it, it pops me a window saying Unknow option 'v' and Unknow option 'Wall' and then opens a new codeblocks window. I really don't know what is happening but it really discourage me from programing as my first start is a total mess. If anyone can help I'd be really glad. Otherwise I might just let go of programing even thought it looks fun.

Have a nice day

NxKid

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Unknow option 'v'
« Reply #1 on: May 09, 2009, 03:01:30 am »
They are compiler options.
But you should give more detail about your environment.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

NxKid

  • Guest
Re: Unknow option 'v'
« Reply #2 on: May 10, 2009, 04:00:47 am »
Thx but I decided to switch to visual C++, using the Visual suite compiler.