I only mentioned C# because I tested what the result would be from the include system..... as this is what I have access to at work and I’m not completely comfortable with the C++ notation as its a good 3 years since I used it. The actual solution is in what I thought the correct syntax was, and the C# regex was just another way that they might want to look into using.
I don’t believe they have no clue what they are doing,...
User Profile
Collapse
-
Hi, was just flicking around try... maybe (i use c# i think thats about right, seems to work for me in vs08c#, it knocks off the leading 0 of the number)
You should also put in an 'if number is longer than 4 or less than 3 then exit'
string myinput;
int start_time;
cin >> myinput;
if (!System::Int:: TryParse(myinpu t, start_time)) {
//isnt a integer
}
...Leave a comment:
No activity results to display
Show More
Leave a comment: