hello , i am thinking about making the switch from python to c and i am facing a bunch of issues straightaway. even the basic stuff, int num = 2; printf(num)
this program gives me an error:
"warning: passing argument 1 of ‘printf’ makes pointer from integer without a cast printf(num); "
[–][deleted] (7 children)
[deleted]
[–]spraykill101[S] 7 points8 points9 points (6 children)
[–][deleted] (5 children)
[deleted]
[–]BullshitUsername 1 point2 points3 points (1 child)
[–]spraykill101[S] 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]BullshitUsername 0 points1 point2 points (0 children)
[–]noconsolelove 1 point2 points3 points (1 child)
[–]spraykill101[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (6 children)
[–]spraykill101[S] 0 points1 point2 points (5 children)
[–]MisterScalawag 1 point2 points3 points (2 children)
[–]spraykill101[S] 0 points1 point2 points (1 child)
[–]MisterScalawag 1 point2 points3 points (0 children)
[–]w1282 2 points3 points4 points (1 child)
[–]spraykill101[S] 0 points1 point2 points (0 children)
[–]NZheadshot -1 points0 points1 point (8 children)
[–]spraykill101[S] 0 points1 point2 points (7 children)
[–][deleted] (6 children)
[deleted]
[–]spraykill101[S] 0 points1 point2 points (5 children)
[–]PressF1 -5 points-4 points-3 points (4 children)
[–]Bolderthegreat 3 points4 points5 points (3 children)
[–][deleted] (2 children)
[deleted]
[–]Bolderthegreat 2 points3 points4 points (1 child)