היי,
אני מעוניין ליצור מספר רנדומלי ב C++.
אני מקבל משהו מאוד מוזר.
חלקי הקוד העיקריים:
	קוד:
	#include <cstdlib>
using namespace std; 
int randNum;
randNum = rand();
 משום מה  אני מקבל מספר מינוס גדול מאוד.
ואז מתקבלת שגיאה:
There is no source code available for the current location.
תודה מראש.