Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » Console Applications
Console Applications [message #12335] |
Thu, 25 October 2007 15:19 |
pippo
Messages: 17 Registered: October 2007 Location: Italy
|
Promising Member |
|
|
Console applications runs with Linux-Ubuntu??
Gui application runs right, but with consol application the console not appears...
I attach some screenshot, so somebody can verify if I wrong something.
10aa3a8774daeb994a88cc07572e2b6c
|
|
|
|
|
|
|
|
|
Re: Console Applications [message #12347 is a reply to message #12335] |
Thu, 25 October 2007 23:08 |
|
tvanriper
Messages: 85 Registered: September 2007 Location: Germantown, MD, USA
|
Member |
|
|
For whatever it's worth, I'm a native speaker of English, and have been into message boards, chatting, and so on for over half of my 40 years of life, yet I didn't know what IIRC meant, either, until today.
Whenever someone used that abbreviation, I just sort of blipped by it, hoping I wouldn't wind up eventually saying something that didn't make sense.
|
|
|
Re: Console Applications [message #12349 is a reply to message #12347] |
Thu, 25 October 2007 23:30 |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
tvanriper wrote on Thu, 25 October 2007 23:08 | For whatever it's worth, I'm a native speaker of English, and have been into message boards, chatting, and so on for over half of my 40 years of life, yet I didn't know what IIRC meant, either, until today.
Whenever someone used that abbreviation, I just sort of blipped by it, hoping I wouldn't wind up eventually saying something that didn't make sense.
|
I quote you entirely... even being native Italian speaker.
And, if I must tell it all, I was ignoring OTOH meaning too, just before entering UPP forums....
Max
|
|
|
|
|
Re: Console Applications [message #12366 is a reply to message #12335] |
Fri, 26 October 2007 13:52 |
mr_ped
Messages: 825 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
Ah input. I never use input during development (except some by-hand tests in shell outside of IDE), so it didn't occur to me you may need it.
Well, input inside TheIDE is probably impossible (unless Mirek will prove us wrong).
In windows having the option "Standalone" will cause the application to run inside cmd.exe window, but in kubuntu this option does nothing for me. IMHO this may be fixed easily(?) by somebody who knows more about TheIDE source and about execution of binaries inside *NIX shell.
Possible workarounds for you:
1) use shell and run the binary outside of IDE. (I would especially recommend two monitors setup or virtual desktops, so you can switch easily between IDE and shell window)
2) if you use all the time same input, put the whole input into some input.txt file, and run your application with " < input.txt" program arguments (Debug/Run options..). Your application will read input from that file than.
Actually 2) will save you lot of typing if you always run the application with same input, and it may work as some sort of automatic test for you.
I would also suggest to develop firstly as many inner modules (eventually split into different packages if possible and it feels good from API/objects design point of view) as possible with predefined inputs for automatic tests, and do the final testing of whole application afterwards by hand in some shell. (Although automatic tests are always better in the long term, but sometimes they may be tricky to create/execute, if the "*user* input" should be emulated in such test)
|
|
|
Re: Console Applications [message #12372 is a reply to message #12349] |
Fri, 26 October 2007 18:52 |
piratalp
Messages: 26 Registered: September 2007 Location: Argentina
|
Promising Member |
|
|
mdelfede wrote on Thu, 25 October 2007 18:30 |
tvanriper wrote on Thu, 25 October 2007 23:08 | For whatever it's worth, I'm a native speaker of English, and have been into message boards, chatting, and so on for over half of my 40 years of life, yet I didn't know what IIRC meant, either, until today.
Whenever someone used that abbreviation, I just sort of blipped by it, hoping I wouldn't wind up eventually saying something that didn't make sense.
|
I quote you entirely... even being native Italian speaker.
And, if I must tell it all, I was ignoring OTOH meaning too, just before entering UPP forums....
Max
|
I just can't believe you both!
I'm from Argentina and my english is very limited but I asked for OTOH & AFAIK one of the first time I saw them and I was told to google for "common english abbreviations" and you find the answer for all those 'strange' uppercase words used frequently un mailing lists, chats and forums..
CUL8R
|
|
|
|
|
Goto Forum:
Current Time: Fri Sep 20 16:59:29 CEST 2024
Total time taken to generate the page: 0.02933 seconds
|