gint32
- From: Brooklyn Linux Solutions CEO <ruben mrbrklyn com>
- To: gtk-app-devel-list gnome org
- Subject: gint32
- Date: Sun, 13 May 2001 00:51:19 -0400
Greeting
Any clue why this fails to compile with a parse error
#include<stdio.h>
#include<stdlib.h>
#include<glib.h>
int main(gint32 argc, gchar ** argv){
if(argc < 2){
g_print("Two integers are needed to work this\n");
exit(1);
}
#PARSE ERROR ON THIS LINE
gint32 a = -5;
gint32 b = 12;
gint32 c;
gchar * gt1 = argv[1];
gchar * gt2 = argv[2];
But if I change it to gint it does just fine.
Ruben
--
Brooklyn Linux Solutions
http://www.mrbrklyn.com
http://www.brooklynonline.com
1-718-382-5752
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]