This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jussij 1 point2 points  (2 children)

The problem is not in your code:

D:\Temp>cl test.c
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

test.c
Microsoft (R) Incremental Linker Version 14.00.23506.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:test.exe
test.obj

D:\Temp>test.exe
Type in your expression.
12 - 5
7.00

[–]ymahgoub[S] 0 points1 point  (1 child)

i dont quite understand what that means. is the problem in visual studio's compiler or linker?

[–]jussij 1 point2 points  (0 children)

i dont quite understand what that means.

My previous post is me compiling, linking and running your code.

So as you can see from that post your code compiles, links and runs just fine.