الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

سوال فى كيفية تشغيل ال C & C++ على النتبينز على الوندوز ؟؟؟؟

بدأه mr.beshoy في 11 مارس 2009 · 11 رد · 1,349 مشاهدة · في الأسئلة المجابة
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

سلام يا شباب

انا كنت بحاول اشغل الC++

على النتبينز و طبعا زى ما انتم عارفين ان النتبينز يمكنك

تشغل ال C و ال C++

و لكن لابد من تسطيب بعض الأشياء الهامة

انا قرات كيفية تشغيلهم على النتبينز و ما الواجب عمله من هذا اللينك

http://www.netbeans.org/community/releases...structions.html

وحملت ما يسمى بال CYGWIN

و ظبته فى المسار السليم

و لكن لما بكتب الكود

بيعترض على

ال #INCLUDE<..........>

فده معناه انه مفيش كومبيلر

فهل لازم اسطب حاجة تانى مع ال cygwin

ياريت تفيدونا بجد

و شكرا

#2

mr.beshoy هل ضفته فى ال path مظبوط ؟

يعنى لو كتبت مثلا gcc -v فى ال cmd بيطلعلك ناتج او لأ؟

مش عندى ويندوز بس دى حاجة شائعة انك تكون عندك مشاكل مع ال Environment Variables

**شئ عجيب استخدام IDE مكتوبة بال Java لبرمجة C/C++

(map share people)

فضلا لاتقم بمراسلتي من أجل أسئلة لها أقسامها في المنتدى حتى تعم الفائدة على الجميع وللحصول على إجابات أفضل من أعضاء أكثر خبرة.
Weblog
@bitbucket
@xmonader

#3

السلام عليكــم ورحمـة الله وبركاتــة

،،

اخي هناك العديد من الكمبايلرات التي تعمل تحت الوندوز التي انصحك بها مثل:

dev c++

code::blocks

 و اخرا تحت الدوس  او الشاشة السوداء

MinGw

Borland C++ Compiler

للمزيد تفضل اخي بزيارة الرابط

تحية :happy:  

تم تعديل هذه المشاركة بواسطة المحارب الصغير في 12 مارس 2009 في 04:06

الفريق العربي للبرمجة

16359.png

userbarxp.png

624.gif
#4

المحارب الصغير: فى فرق بين Compiler و IDE .. كل اللى ذكرتهم هما IDEs لكن فى Compilers زى GCC مثلا!

(map share people)

فضلا لاتقم بمراسلتي من أجل أسئلة لها أقسامها في المنتدى حتى تعم الفائدة على الجميع وللحصول على إجابات أفضل من أعضاء أكثر خبرة.
Weblog
@bitbucket
@xmonader

#5

نعم اخي ahmed_youssef

gcc  كمبايلر لنضام اليونكس

gcc هوMinWGلكن للوندوز

:happy:

الفريق العربي للبرمجة

16359.png

userbarxp.png

624.gif
#6

سلام للجميع

انا واضع فى المسار السليم

و لما بكتب فى ال cmd

cygcheck

بيعرضلى list فيها اشياء كده

مستنتج منها انه يوجد ال cygwin

بس ليه عجيب انى اكتب c و c++ فى الnetbeans

و شكرا لك جدا و رجاء تساعدنى حتى اشغله على النتبينز

و شكرا للمحارب الصغير

بيشوى

#7

اخي انا لم استعمل NetBeans IDE لكني حملته لتجربة

NetBeas هو مجرد IDE فيجب تحديد مسارات الكمبايلر واللينكر...

Tools -> Options -> c/c++ -> add -> browse -> C:\cygwin

post-141923-1236825309_thumb.jpg

الفريق العربي للبرمجة

16359.png

userbarxp.png

624.gif
#8

طب معلش يا اخ انا مش عارف اختار ايه بالظبط فى كل واحدة

ممكن تساعدنى

شكرا

#9

السلام عليكــم ورحمـة الله وبركاتــة ،،

في الرابط الذي وضعته في مشاركتك رقم 1 تأكد من تنفيذ خطوة رقم 6 التي تحت العنوان: To install the GNU compilers, make, and gdb debugger from :

tvquran_6.gif

#10

متاكد انى عاملها الخطوة دى

ياريت بس تقولولى ايه البااميتر اى اضعها فى المسارات ( فى الصورة الى وضعها المحارب الصغير )

شكرا

#11

في نفس المجلد bin الملفات على الترتيب :

gcc

g++

make

gdb

طبعا تجاوز خانه الفورتران

tvquran_6.gif

#12

سلام للجيمع

شمرا يا اخ اشتغل معايا و تمام ال تمام

بس فى مشكلة

انى كتبت

برنامج صغير مثل هيك

#include<iostream>

using namespace std;

int main(int argc, char** argv) {

cout<<"HIIIIIIIIIIIIIII";

return 0;

}

و لكن بيطلع لى ايرور غريب

ياريت خحد يقولى يقصد ايه

ادى الرسالة معلش هى كبيرة

Running "C:\cygwin\bin\make.exe -f Makefile CONF=Debug" in C:\Documents and Settings\beshoy\Desktop\Application_1

/usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf

make[1]: Entering directory `/cygdrive/c/Documents and Settings/beshoy/Desktop/Application_1'

make[1]: Warning: File `.dep.inc' has modification time 1.8 s in the future

/usr/bin/make -f nbproject/Makefile-Debug.mk dist/Debug/Cygwin-Windows/application_1.exe

make[2]: Entering directory `/cygdrive/c/Documents and Settings/beshoy/Desktop/Application_1'

make[2]: Warning: File `.dep.inc' has modification time 1.7 s in the future

mkdir -p build/Debug/Cygwin-Windows

rm -f build/Debug/Cygwin-Windows/newmain.o.d

g++.exe -c -g -MMD -MP -MF build/Debug/Cygwin-Windows/newmain.o.d -o build/Debug/Cygwin-Windows/newmain.o newmain.cpp

In file included from /usr/include/c++/3.3.3/cstdio:50,

from /usr/include/c++/3.3.3/i686-pc-cygwin/bits/c++io.h:35,

from /usr/include/c++/3.3.3/bits/fpos.h:44,

from /usr/include/c++/3.3.3/iosfwd:49,

from /usr/include/c++/3.3.3/ios:44,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/c++/3.3.3/cstddef:52: error: `ptrdiff_t' not declared

/usr/include/c++/3.3.3/cstddef:53: error: `size_t' not declared

In file included from /usr/include/sys/reent.h:14,

from /usr/include/stdio.h:45,

from /usr/include/c++/3.3.3/cstdio:52,

from /usr/include/c++/3.3.3/i686-pc-cygwin/bits/c++io.h:35,

from /usr/include/c++/3.3.3/bits/fpos.h:44,

from /usr/include/c++/3.3.3/iosfwd:49,

from /usr/include/c++/3.3.3/ios:44,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/sys/_types.h:32: error: 'wint_t' is used as a type, but is not

defined as a type.

In file included from /usr/include/c++/3.3.3/cstdio:52,

from /usr/include/c++/3.3.3/i686-pc-cygwin/bits/c++io.h:35,

from /usr/include/c++/3.3.3/bits/fpos.h:44,

from /usr/include/c++/3.3.3/iosfwd:49,

from /usr/include/c++/3.3.3/ios:44,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/stdio.h:176: error: type specifier omitted for parameter `size_t'

/usr/include/stdio.h:187: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:189: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:191: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:204: error: parse error before `(' token

/usr/include/stdio.h:205: error: redefinition of `int size_t'

/usr/include/stdio.h:204: error: `int size_t' previously declared here

/usr/include/stdio.h:205: error: parse error before `(' token

/usr/include/stdio.h:262: error: type specifier omitted for parameter `size_t'

/usr/include/stdio.h:262: error: format string arg not a string type

/usr/include/stdio.h:264: error: type specifier omitted for parameter `size_t'

/usr/include/stdio.h:264: error: format string arg not a string type

/usr/include/stdio.h:267: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:269: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:271: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:273: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:275: error: type specifier omitted for parameter `size_t'

/usr/include/stdio.h:275: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:275: error: format string arg not a string type

/usr/include/stdio.h:277: error: type specifier omitted for parameter `size_t'

/usr/include/stdio.h:277: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:277: error: format string arg not a string type

/usr/include/stdio.h:279: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:281: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:283: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:285: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:287: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:289: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:291: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:293: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:295: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:350: error: redefinition of `int size_t'

/usr/include/stdio.h:205: error: `int size_t' previously declared here

/usr/include/stdio.h:350: error: parse error before `(' token

/usr/include/stdio.h:355: error: redefinition of `int size_t'

/usr/include/stdio.h:350: error: `int size_t' previously declared here

/usr/include/stdio.h:355: error: parse error before `(' token

/usr/include/stdio.h:384: error: type specifier omitted for parameter `size_t'

/usr/include/stdio.h:384: error: format string arg not a string type

/usr/include/stdio.h:386: error: type specifier omitted for parameter `size_t'

/usr/include/stdio.h:386: error: format string arg not a string type

/usr/include/stdio.h:396: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:398: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:400: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:402: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:404: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:406: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:408: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:410: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:412: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:414: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:416: error: type specifier omitted for parameter `size_t'

/usr/include/stdio.h:416: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:416: error: format string arg not a string type

/usr/include/stdio.h:418: error: type specifier omitted for parameter `size_t'

/usr/include/stdio.h:418: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:418: error: format string arg not a string type

/usr/include/stdio.h:420: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:422: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:424: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:426: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:428: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:430: error: type specifier omitted for parameter `

__gnuc_va_list'

/usr/include/stdio.h:433: error: type specifier omitted for parameter `size_t'

/usr/include/stdio.h:433: error: parse error before `*' token

/usr/include/stdio.h:434: error: type specifier omitted for parameter `size_t'

/usr/include/stdio.h:434: error: parse error before `*' token

In file included from /usr/include/c++/3.3.3/i686-pc-cygwin/bits/c++io.h:35,

from /usr/include/c++/3.3.3/bits/fpos.h:44,

from /usr/include/c++/3.3.3/iosfwd:49,

from /usr/include/c++/3.3.3/ios:44,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/c++/3.3.3/cstdio:114: error: `fread' not declared

/usr/include/c++/3.3.3/cstdio:120: error: `fwrite' not declared

In file included from /usr/include/sched.h:17,

from /usr/include/pthread.h:15,

from /usr/include/c++/3.3.3/i686-pc-cygwin/bits/gthr-default.h:37,

from /usr/include/c++/3.3.3/i686-pc-cygwin/bits/gthr.h:98,

from /usr/include/c++/3.3.3/i686-pc-cygwin/bits/c++io.h:37,

from /usr/include/c++/3.3.3/bits/fpos.h:44,

from /usr/include/c++/3.3.3/iosfwd:49,

from /usr/include/c++/3.3.3/ios:44,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/time.h:56: error: redefinition of `int size_t'

/usr/include/stdio.h:355: error: `int size_t' previously declared here

/usr/include/time.h:56: error: parse error before `(' token

In file included from /usr/include/c++/3.3.3/i686-pc-cygwin/bits/gthr-default.h:37,

from /usr/include/c++/3.3.3/i686-pc-cygwin/bits/gthr.h:98,

from /usr/include/c++/3.3.3/i686-pc-cygwin/bits/c++io.h:37,

from /usr/include/c++/3.3.3/bits/fpos.h:44,

from /usr/include/c++/3.3.3/iosfwd:49,

from /usr/include/c++/3.3.3/ios:44,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/pthread.h:100: error: type specifier omitted for parameter `size_t

'

/usr/include/pthread.h:100: error: parse error before `*' token

/usr/include/pthread.h:101: error: type specifier omitted for parameter `size_t

'

In file included from /usr/include/unistd.h:4,

from /usr/include/c++/3.3.3/i686-pc-cygwin/bits/gthr-default.h:38,

from /usr/include/c++/3.3.3/i686-pc-cygwin/bits/gthr.h:98,

from /usr/include/c++/3.3.3/i686-pc-cygwin/bits/c++io.h:37,

from /usr/include/c++/3.3.3/bits/fpos.h:44,

from /usr/include/c++/3.3.3/iosfwd:49,

from /usr/include/c++/3.3.3/ios:44,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/sys/unistd.h:57: error: type specifier omitted for parameter `

size_t'

/usr/include/sys/unistd.h:57: error: parse error before `)' token

/usr/include/sys/unistd.h:59: error: type specifier omitted for parameter `

size_t'

/usr/include/sys/unistd.h:59: error: parse error before `)' token

/usr/include/sys/unistd.h:72: error: type specifier omitted for parameter `

size_t'

/usr/include/sys/unistd.h:72: error: parse error before `)' token

/usr/include/sys/unistd.h:75: error: redefinition of `int size_t'

/usr/include/time.h:56: error: `int size_t' previously declared here

/usr/include/sys/unistd.h:75: error: parse error before `(' token

/usr/include/sys/unistd.h:109: error: type specifier omitted for parameter `

size_t'

/usr/include/sys/unistd.h:109: error: parse error before `,' token

/usr/include/sys/unistd.h:110: error: type specifier omitted for parameter `

size_t'

/usr/include/sys/unistd.h:110: error: parse error before `,' token

/usr/include/sys/unistd.h:111: error: type specifier omitted for parameter `

size_t'

/usr/include/sys/unistd.h:111: error: parse error before `)' token

/usr/include/sys/unistd.h:120: error: `ptrdiff_t' was not declared in this

scope

/usr/include/sys/unistd.h:120: error: parse error before `)' token

/usr/include/sys/unistd.h:151: error: type specifier omitted for parameter `

size_t'

/usr/include/sys/unistd.h:155: error: type specifier omitted for parameter `

size_t'

/usr/include/sys/unistd.h:155: error: parse error before `)' token

In file included from /usr/include/unistd.h:4,

from /usr/include/c++/3.3.3/i686-pc-cygwin/bits/gthr-default.h:38,

from /usr/include/c++/3.3.3/i686-pc-cygwin/bits/gthr.h:98,

from /usr/include/c++/3.3.3/i686-pc-cygwin/bits/c++io.h:37,

from /usr/include/c++/3.3.3/bits/fpos.h:44,

from /usr/include/c++/3.3.3/iosfwd:49,

from /usr/include/c++/3.3.3/ios:44,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/sys/unistd.h:206: error: type specifier omitted for parameter `

size_t'

/usr/include/sys/unistd.h:206: error: parse error before `)' token

In file included from /usr/include/c++/3.3.3/bits/fpos.h:44,

from /usr/include/c++/3.3.3/iosfwd:49,

from /usr/include/c++/3.3.3/ios:44,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/c++/3.3.3/i686-pc-cygwin/bits/c++io.h:43: error: syntax error

before `;' token

In file included from /usr/include/c++/3.3.3/cwchar:51,

from /usr/include/c++/3.3.3/bits/fpos.h:45,

from /usr/include/c++/3.3.3/iosfwd:49,

from /usr/include/c++/3.3.3/ios:44,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/c++/3.3.3/ctime:78: error: `strftime' not declared

In file included from /usr/include/c++/3.3.3/cwchar:54,

from /usr/include/c++/3.3.3/bits/fpos.h:45,

from /usr/include/c++/3.3.3/iosfwd:49,

from /usr/include/c++/3.3.3/ios:44,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/wchar.h:43: error: parse error before `(' token

/usr/include/wchar.h:45: error: redefinition of `int size_t'

/usr/include/sys/unistd.h:75: error: `int size_t' previously declared here

/usr/include/wchar.h:45: error: parse error before `(' token

/usr/include/wchar.h:46: error: redefinition of `int size_t'

/usr/include/wchar.h:45: error: `int size_t' previously declared here

/usr/include/wchar.h:46: error: parse error before `(' token

/usr/include/wchar.h:47: error: redefinition of `int size_t'

/usr/include/wchar.h:46: error: `int size_t' previously declared here

/usr/include/wchar.h:47: error: parse error before `(' token

/usr/include/wchar.h:50: error: redefinition of `int size_t'

/usr/include/wchar.h:47: error: `int size_t' previously declared here

/usr/include/wchar.h:50: error: parse error before `(' token

/usr/include/wchar.h:51: error: redefinition of `int size_t'

/usr/include/wchar.h:50: error: `int size_t' previously declared here

/usr/include/wchar.h:51: error: parse error before `(' token

/usr/include/wchar.h:52: error: redefinition of `int size_t'

/usr/include/wchar.h:51: error: `int size_t' previously declared here

/usr/include/wchar.h:52: error: parse error before `(' token

/usr/include/wchar.h:53: error: redefinition of `int size_t'

/usr/include/wchar.h:52: error: `int size_t' previously declared here

/usr/include/wchar.h:53: error: parse error before `(' token

/usr/include/wchar.h:54: error: redefinition of `int size_t'

/usr/include/wchar.h:53: error: `int size_t' previously declared here

/usr/include/wchar.h:54: error: parse error before `(' token

/usr/include/wchar.h:61: error: redefinition of `int size_t'

/usr/include/wchar.h:54: error: `int size_t' previously declared here

/usr/include/wchar.h:61: error: parse error before `(' token

/usr/include/wchar.h:62: error: redefinition of `int size_t'

/usr/include/wchar.h:61: error: `int size_t' previously declared here

/usr/include/wchar.h:62: error: parse error before `(' token

/usr/include/wchar.h:63: error: redefinition of `int size_t'

/usr/include/wchar.h:62: error: `int size_t' previously declared here

/usr/include/wchar.h:63: error: parse error before `(' token

/usr/include/wchar.h:64: error: redefinition of `int size_t'

/usr/include/wchar.h:63: error: `int size_t' previously declared here

/usr/include/wchar.h:64: error: parse error before `(' token

/usr/include/wchar.h:65: error: type specifier omitted for parameter `size_t'

/usr/include/wchar.h:66: error: type specifier omitted for parameter `size_t'

/usr/include/wchar.h:67: error: type specifier omitted for parameter `size_t'

/usr/include/wchar.h:68: error: redefinition of `int size_t'

/usr/include/wchar.h:64: error: `int size_t' previously declared here

/usr/include/wchar.h:68: error: parse error before `(' token

/usr/include/wchar.h:71: error: redefinition of `int size_t'

/usr/include/wchar.h:68: error: `int size_t' previously declared here

/usr/include/wchar.h:71: error: parse error before `(' token

/usr/include/wchar.h:73: error: type specifier omitted for parameter `size_t'

/usr/include/wchar.h:75: error: type specifier omitted for parameter `size_t'

/usr/include/wchar.h:76: error: type specifier omitted for parameter `size_t'

/usr/include/wchar.h:77: error: type specifier omitted for parameter `size_t'

/usr/include/wchar.h:78: error: type specifier omitted for parameter `size_t'

/usr/include/wchar.h:79: error: type specifier omitted for parameter `size_t'

In file included from /usr/include/c++/3.3.3/cstring:51,

from /usr/include/c++/3.3.3/bits/char_traits.h:45,

from /usr/include/c++/3.3.3/ios:46,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/string.h:22: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:23: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:24: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:25: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:26: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:32: error: redefinition of `int size_t'

/usr/include/wchar.h:71: error: `int size_t' previously declared here

/usr/include/string.h:32: error: parse error before `(' token

/usr/include/string.h:34: error: redefinition of `int size_t'

/usr/include/string.h:32: error: `int size_t' previously declared here

/usr/include/string.h:34: error: parse error before `(' token

/usr/include/string.h:35: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:36: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:37: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:40: error: redefinition of `int size_t'

/usr/include/string.h:34: error: `int size_t' previously declared here

/usr/include/string.h:40: error: parse error before `(' token

/usr/include/string.h:47: error: redefinition of `int size_t'

/usr/include/string.h:40: error: `int size_t' previously declared here

/usr/include/string.h:47: error: parse error before `(' token

/usr/include/string.h:52: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:53: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:54: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:57: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:58: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:60: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:60: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:66: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:67: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:68: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:69: error: redefinition of `int size_t'

/usr/include/string.h:47: error: `int size_t' previously declared here

/usr/include/string.h:69: error: parse error before `(' token

/usr/include/string.h:70: error: redefinition of `int size_t'

/usr/include/string.h:69: error: `int size_t' previously declared here

/usr/include/string.h:70: error: parse error before `(' token

/usr/include/string.h:71: error: type specifier omitted for parameter `size_t'

/usr/include/string.h:72: error: redefinition of `int size_t'

/usr/include/string.h:70: error: `int size_t' previously declared here

/usr/include/string.h:72: error: parse error before `(' token

In file included from /usr/include/c++/3.3.3/bits/char_traits.h:45,

from /usr/include/c++/3.3.3/ios:46,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/c++/3.3.3/cstring:89: error: `strxfrm' not declared

/usr/include/c++/3.3.3/cstring:90: error: `strcspn' not declared

/usr/include/c++/3.3.3/cstring:91: error: `strspn' not declared

/usr/include/c++/3.3.3/cstring:95: error: `strlen' not declared

/usr/include/c++/3.3.3/cstring:100: error: type specifier omitted for parameter

`size_t'

/usr/include/c++/3.3.3/cstring:100: error: parse error before `)' token

/usr/include/c++/3.3.3/cstring: In function `void* std::memchr(...)':

/usr/include/c++/3.3.3/cstring:101: error: `__p' undeclared (first use this

function)

/usr/include/c++/3.3.3/cstring:101: error: (Each undeclared identifier is

reported only once for each function it appears in.)

/usr/include/c++/3.3.3/cstring:101: error: `__c' undeclared (first use this

function)

/usr/include/c++/3.3.3/cstring:101: error: `__n' undeclared (first use this

function)

/usr/include/c++/3.3.3/bits/char_traits.h: At global scope:

In file included from /usr/include/c++/3.3.3/ios:46,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/c++/3.3.3/bits/char_traits.h:81: error: type specifier omitted for

parameter `size_t'

/usr/include/c++/3.3.3/bits/char_traits.h:81: error: parse error before `)'

token

/usr/include/c++/3.3.3/bits/char_traits.h:84: error: parse error before `('

token

/usr/include/c++/3.3.3/bits/char_traits.h:87: error: type specifier omitted for

parameter `size_t'

/usr/include/c++/3.3.3/bits/char_traits.h:87: error: parse error before `,'

token

/usr/include/c++/3.3.3/bits/char_traits.h:90: error: type specifier omitted for

parameter `size_t'

/usr/include/c++/3.3.3/bits/char_traits.h:90: error: parse error before `)'

token

/usr/include/c++/3.3.3/bits/char_traits.h:93: error: type specifier omitted for

parameter `size_t'

/usr/include/c++/3.3.3/bits/char_traits.h:93: error: parse error before `)'

token

/usr/include/c++/3.3.3/bits/char_traits.h:96: error: type specifier omitted for

parameter `size_t'

/usr/include/c++/3.3.3/bits/char_traits.h:96: error: parse error before `,'

token

/usr/include/c++/3.3.3/bits/char_traits.h:138: error: type specifier omitted

for parameter `size_t'

/usr/include/c++/3.3.3/bits/char_traits.h:138: error: parse error before `)'

token

/usr/include/c++/3.3.3/bits/char_traits.h:142: error: parse error before `('

token

/usr/include/c++/3.3.3/bits/char_traits.h: In static member function `static

int std::char_traits<char>::compare(...)':

/usr/include/c++/3.3.3/bits/char_traits.h:139: error: `__s1' undeclared (first

use this function)

/usr/include/c++/3.3.3/bits/char_traits.h:139: error: `__s2' undeclared (first

use this function)

/usr/include/c++/3.3.3/bits/char_traits.h: At global scope:

/usr/include/c++/3.3.3/bits/char_traits.h:145: error: ISO C++ forbids defining

types within return type

/usr/include/c++/3.3.3/bits/char_traits.h:145: error: syntax error before `*'

token

/usr/include/c++/3.3.3/bits/char_traits.h:146: error: parse error before `*'

token

/usr/include/c++/3.3.3/bits/char_traits.h: In function `int* std::find(...)':

/usr/include/c++/3.3.3/bits/char_traits.h:147: error: parse error before `*'

token

/usr/include/c++/3.3.3/bits/char_traits.h: At global scope:

/usr/include/c++/3.3.3/bits/char_traits.h:149: error: syntax error before `*'

token

/usr/include/c++/3.3.3/bits/char_traits.h:153: error: syntax error before `*'

token

/usr/include/c++/3.3.3/bits/char_traits.h:157: error: syntax error before `*'

token

/usr/include/c++/3.3.3/bits/char_traits.h:162: error: syntax error before `('

token

/usr/include/c++/3.3.3/bits/char_traits.h:168: error: syntax error before `('

token

/usr/include/c++/3.3.3/bits/char_traits.h:172: error: parse error before `&'

token

/usr/include/c++/3.3.3/bits/char_traits.h: In function `bool eq_int_type(...)':

/usr/include/c++/3.3.3/bits/char_traits.h:173: error: `__c1' undeclared (first

use this function)

/usr/include/c++/3.3.3/bits/char_traits.h:173: error: `__c2' undeclared (first

use this function)

/usr/include/c++/3.3.3/bits/char_traits.h: At global scope:

/usr/include/c++/3.3.3/bits/char_traits.h:176: error: syntax error before `('

token

/usr/include/c++/3.3.3/bits/char_traits.h:179: error: syntax error before `('

token

/usr/include/c++/3.3.3/bits/char_traits.h:261: error: parse error before `}'

token

In file included from /usr/include/c++/3.3.3/cstdlib:52,

from /usr/include/c++/3.3.3/bits/stl_algobase.h:67,

from /usr/include/c++/3.3.3/memory:54,

from /usr/include/c++/3.3.3/string:48,

from /usr/include/c++/3.3.3/bits/locale_classes.h:47,

from /usr/include/c++/3.3.3/bits/ios_base.h:47,

from /usr/include/c++/3.3.3/ios:49,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/stdlib.h:72: error: type specifier omitted for parameter `size_t'

/usr/include/stdlib.h:72: error: parse error before `,' token

/usr/include/stdlib.h: In function `void* bsearch(...)':

/usr/include/stdlib.h:77: error: `size_t' undeclared (first use this function)

/usr/include/stdlib.h:77: error: parse error before `,' token

/usr/include/stdlib.h:87: error: parse error before `)' token

/usr/include/stdlib.h:88: error: type specifier omitted for parameter `size_t'

/usr/include/stdlib.h:89: error: type specifier omitted for parameter `size_t'

/usr/include/stdlib.h:90: error: type specifier omitted for parameter `size_t'

/usr/include/stdlib.h:91: error: type specifier omitted for parameter `size_t'

/usr/include/stdlib.h:94: error: `int size_t' used prior to declaration

/usr/include/stdlib.h:94: error: parse error before `(' token

/usr/include/stdlib.h:95: error: redefinition of `int size_t'

/usr/include/stdlib.h:94: error: `int size_t' previously declared here

/usr/include/stdlib.h:95: error: parse error before `(' token

/usr/include/stdlib.h:96: error: redefinition of `int size_t'

/usr/include/stdlib.h:95: error: `int size_t' previously declared here

/usr/include/stdlib.h:96: error: parse error before `(' token

/usr/include/stdlib.h:97: error: redefinition of `int size_t'

/usr/include/stdlib.h:96: error: `int size_t' previously declared here

/usr/include/stdlib.h:97: error: parse error before `(' token

/usr/include/stdlib.h:104: error: type specifier omitted for parameter `size_t'

/usr/include/stdlib.h:104: error: parse error before `,' token

/usr/include/stdlib.h:104: error: `qsort' declared as function returning a

function

/usr/include/stdlib.h: In function `int qsort(...)':

/usr/include/stdlib.h:104: error: parse error before `)' token

/usr/include/stdlib.h:106: error: type specifier omitted for parameter `size_t'

/usr/include/stdlib.h:106: error: parse error before `)' token

In file included from /usr/include/c++/3.3.3/bits/stl_algobase.h:67,

from /usr/include/c++/3.3.3/memory:54,

from /usr/include/c++/3.3.3/string:48,

from /usr/include/c++/3.3.3/bits/locale_classes.h:47,

from /usr/include/c++/3.3.3/bits/ios_base.h:47,

from /usr/include/c++/3.3.3/ios:49,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/c++/3.3.3/cstdlib:105: error: `mbstowcs' not declared

/usr/include/c++/3.3.3/cstdlib:115: error: `wcstombs' not declared

In file included from /usr/include/c++/3.3.3/bits/stl_algobase.h:69,

from /usr/include/c++/3.3.3/memory:54,

from /usr/include/c++/3.3.3/string:48,

from /usr/include/c++/3.3.3/bits/locale_classes.h:47,

from /usr/include/c++/3.3.3/bits/ios_base.h:47,

from /usr/include/c++/3.3.3/ios:49,

from /usr/include/c++/3.3.3/ostream:45,

from /usr/include/c++/3.3.3/iostream:45,

from newmain.cpp:8:

/usr/include/c++/3.3.3/new: In function `ldiv_t std::div(long int, long int)':

/usr/include/c++/3.3.3/new:53: error: declaration of `struct std::bad_alloc' in

`ldiv_t std::div(long int, long int)' which does not enclose `std'

/usr/include/c++/3.3.3/new:54: confused by earlier errors, bailing out

make[2]: *** [build/Debug/Cygwin-Windows/newmain.o] Error 1

make[2]: Leaving directory `/cygdrive/c/Documents and Settings/beshoy/Desktop/Application_1'

make[1]: *** [.build-conf] Error 2

make[1]: Leaving directory `/cygdrive/c/Documents and Settings/beshoy/Desktop/Application_1'

make: *** [.build-impl] Error 2

Build failed. Exit value 2.

يقصد ايه

انا مش فاهمها

شكرا

مواضيع مشابهة

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…