I do that and I get 27 errors:
C:\Programs\CKProg\main.cpp(9) : error C2501: 'INT_PTR' : missing decl-specifiers
C:\Programs\CKProg\main.cpp(9) : error C2239: unexpected token '__stdcall' following...
Type: Posts; User: Budgiekarl
I do that and I get 27 errors:
C:\Programs\CKProg\main.cpp(9) : error C2501: 'INT_PTR' : missing decl-specifiers
C:\Programs\CKProg\main.cpp(9) : error C2239: unexpected token '__stdcall' following...
Recently I've been working on a Click and Create extention and the ease of useing dialogs struck me, so as a side project I started "CK-Prog" for lack of the better name at the time, I planned it to...
I got theres Warnings:
D:\Dev-Cpp\getintChar\GUI\getintchar.c(53) : warning C4047: 'function' : 'long ' differs in levels of indirection from 'char [32]'...
thx very much! I'll add that thingy on my sig..
I'll NEVER thought about useing sprintf! I knew of it I'll just never thought of useing a char array as a buffer for it and useing sprintf for...
agh the help you gave didn't really help me...can you use real variables that are from the example above? and do it in C?
if need be you can copy the entire part then edit the stuff... I want to...
how come all answers are in C++...? I guess I'll have to switch to C++ then to have this work...
I've made this program that shows the ACSII value and the character, heres a pic from the DOS version:
http://subsoap.com/ck/getintchar.PNG
NOTE: thats the old version that shows the line feed...
My friend thinks so, sence he opened all of his .exe's with a hex editor in binary mode and then he said "Everythings in HEX dolt, no isn't such this as binary! It's all HEX! Your computer is made...
Oh darrn here comes some stupid C humor...
if(java==crap){
printf("Java is crap!");
donotuse(java);
}
Did you know M$ messed up on VC++? Yep, according to one of my friends; "The name Visual C++ thats M$'s way of saying EVERYTHING is drag and drop 'cept some code! Therefore, they messed up badly."
...
THX :)
Where are some good tutorials on the curses libary? (for later use of curses)
I'm useing Linux to program on and I'm going to port it to another OS. How do that in Linux?
How do you check if one of the Function keys have been pressed? Do they produce a character so I can use scanf or some other function to get it into a char variable to see if it's been pressed?...
I'm making it for a DOS-like OS (it might grow up to being gfx API's), and it's not useing COM.
And I'm asking these questions becuz' I needed to know how to program the file I/O. And Salem...
I'm working on NFinity a indepent OS with someone else doing the ASM part, right now my task is to write a notepad-like (in a terminal) program.
Firstly, I need to know if you can put variables...
heres the code now:
#include <stdio.h>
#include <stdlib.h>
#define TURE 1
#define FALSE 0
I'm making "Basic OS", but it really starts from DOS, XD oh well anyway...
I want it to get your input after the ">>> ", right now I want to start off starting the 'exit' command, how do I make a...
How many people use Linux as their OS to program on? And does Linux suck? May friend says it sucks, only becuz' he has been useing windows all his life.
Whats VB and VS .NET?? :confused: What do they do?! They're replaceing VB and I don't know what they are!!
I'm on my linux mechine right now and I checked the shell and typed in 'whereis gcc' and it came up with 'gcc: /usr/bin/gcc /usr/share/man/man1/gcc.1.gz' now how do I compile?
Wheres a good linux C compiler? My dad is giveing me a computer with linux(Knoppix) on it for me to program, and now I need a compiler so I can continue programing!
THX
My sister want me to program a program to keep a inventory of her craft supplies, and she want me to have it so she can save her invertory, saveing in it's self is going to be a bear!
I'm going to...
This for people who want to know what to do with 'int main(int argc, char *argv[])', I'm open to suggustions or corrections.
THX ;)
So here it is!
//////////////////////////////
// ...
Need a compiler that will work on Windows 95, does anyone know where I can get one?:confused:
I got this error:
Line 7, *:\***l\Dev-Cpp\***\main.c, invalid initializer :\