|
sorry if my post came out rude, it wasn't meant to be that way
|
|
|
|
|
Any language can be interpreted, even machine code (PC Emulators for Gameboy, Arcade machines, palms, etc.).
There is actually an old book that was like "Learn C in 12 days" or something that actually came with a C Interpreter so you could learn C, only run your apps in the IDE but not have to buy a compiler.
You are right though, generally C is not an interpreted language as there is no benefit; it's too low level and you would benefit more from the speed of compiling it and it would most likely be the same speed or maybe even slower than a higher level language (essentially, more moving parts need to be interpreted as opposed to single operation that does more work) (There are other benefits of interpreted langauges which I will talk about in the next paragraph)However with langauges you mention, such as BASIC, which are so high level I don't think it matters if they're interpreted or compiled; they run just as slow!
There is however "Managed" C++ that is essentially compiled to a byte code instead of raw machine code which I would basically consider interpreted. This is done for the purpose of stability so the code cannot crash as well as security since the code can run in what would essentailly be a 'sandbox' that can be controled as to what the application has access to.
8bc7c0ec02c0e404c0cc0680f7018827ebee
|
|
|
|
|
i suspect that what you meant was "c++ compiler". you could also have a look at visual c++ express (http://lab.msdn.microsoft.com/express/visualc/default.aspx).
however, if you really need an interpreter, check following:
CINT: http://root.cern.ch/root/Cint.html
UnderC: http://freshmeat.net/projects/underc/
Ch (not free): http://www.softintegration.com/
off topic: did anyone notice that if you try to add a link with [^] addition, post gets automatically submitted? or is it just me?
|
|
|
|
|
Zdeslav Vojkovic wrote:
did anyone notice that if you try to add a link with [^] addition, post gets automatically submitted? or is it just me?
it's just you what navigator do you use ?
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Firefox 1.0.6, but i noticed in one post that Paul Watson has similar problems when trying to quote some text. it seems that it goes for other
things also, e.g. when trying to add a smiley through editor toolbar on the page.
-- modified at 9:38 Thursday 1st September, 2005
i think i know what it is: if i turn off greasemonkey extension with cphog script, everything is fine
|
|
|
|
|
Zdeslav Vojkovic wrote:
greasemonkey
hm ? what is this ? what is it suppose to do ? (just curious)
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
|
In my ListCtrl i have more than 100 rows. but i am displaying 10 rows at a time. i scrolled my listctrl till 90th row and deleted that row. now my listctrl showing first 10 records but i want that cursor should reside the same position i.e 91st row. it should not scroll to the first position.
|
|
|
|
|
Try SetSelectionMark(int Index)
<br />
iListCtrl.SetSelectionMark(91);<br />
Oh, wait this is after you delete the first 90 right? Then
<br />
iListCtrl.SetSelectionMark(0);<br />
Hope that helps.
-------------------------------
DEBUGGING : Removing the needles from the haystack.
|
|
|
|
|
we connect to sqlserver from vc++ using DSN. then how to connect to Oracle database through DSN from vc++.
|
|
|
|
|
|
Using ODBC it should be more or less the same. You just need to install the ODBC for Oracle:
"Driver={Microsoft ODBC for Oracle};Server=OracleServer.YourSerer;Uid=Username;Pwd=PPPPP;"
... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
|
|
|
|
|
Hello
I am working in "Win32 Console Application" environment. I have created three classes that have to access a common variable. To solve this problem, i declared a global variable but when i tried to used it in another class, it gave me an error that undeclared identifier (Though i declared as global). How can i declare a variable that may be accessed by all classes.
We Believe in Excellence
|
|
|
|
|
Not a good idea to use a global variable with C++. Why don't declare the variable in one class, initialise it and provide getter/setter methods for the other two classes? If you want to have only one instance of the variable, no matter how many instances of the class, use the static keyword.
|
|
|
|
|
In Source1.c(pp) (main declaration):
#include........
long global_foo;
...
In Surce2.c(pp) (user of global_foo):
#include........
extern long global_foo;
...
The key word is "extern". But it isn't considdered to be good programming practice...
|
|
|
|
|
I have a program that outputs reports into rich edit views using the MFC StreamIn() routine. The reports may be many times the size of the window and the text scrolls frantically as it is streamed in. Is there any way to stop this behaviour and just display a window at the top?
|
|
|
|
|
How to retrieve the text character from a editable area
by using the keyboard cursor.
i want to retrieve the character from the specified location of the cursor.
|
|
|
|
|
I am doing one application.
In that application ,I want to add my application(Icon)
to the System Tray.
First When Starts my application ,it is executing
on the Screen and adding to taskbar(SystemTray).
>My requirement is ,When I starts the application ,
directly it add to system tray.When I click right click on
popup menu of tray, It has to be executed
praveen
|
|
|
|
|
there are few nice tutorials on this site, e.g:
http://www.codeproject.com/shell/systemtray.asp
http://www.codeproject.com/shell/CTrayIcon.asp
|
|
|
|
|
How to retrieve text/value from Window Client area (e.g. Notepad) using keyboard cursor position.
I want to get the text(letter) where the cursor is placed.
|
|
|
|
|
I have a program (.exe) that has GUI . Upon start this program places an icon in tray. I've made a service that starts the program befor login . It woks . It starts the program but i have some problems. If I login to a windows acount somtimes it doesen't place the icon in the tray. The TaskManger shows my program as beeing started by the SYSTEM account. If i logout an then login again it gets worst : i cannot logout or reset or shotdown windows . My guess is that this problem comes from the fact that when the service start the program it starts it using the "Winlogon" desktop and after login the desktop is changed to the "default" and then my program remains suspended in the "winlogon" desktop .
I've try to change the tread desktop but it didn't work . Here is the code i've used
HWINSTA oldWinSta = GetProcessWindowStation();
if (oldWinSta)
{
HWINSTA hWinsta = ::OpenWindowStation("WinSta0\\default", FALSE, MAXIMUM_ALLOWED);
if (hWinsta)
::SetProcessWindowStation(hWinsta);
}
HDESK hDesk = ::OpenInputDesktop(0, FALSE, DESKTOP_SWITCHDESKTOP);
SetThreadDesktop(hDesk);
SetDesktop -- returns false;
Can anyone help me?
Does anyone knows why the windows doesen't respond at logoff, restart, shutdown if my program is started?
|
|
|
|
|
Hy all!
I've developped an ActiveX and works perfectly on my computer from all points of view. When I try to load it on another workstation or at least register it manualy I get the folowing error message from regsvr32 LoadLibrary("library name") failed - the specified module could not be found.
Since on my computer works perfectly I have no idea on what I'm suppose to do next. Is there a log file hidden somewhere or something that I could continue?
|
|
|
|
|
probably some dependency dll is missing. use Depends or ShowDep to check what's wrong (Depends is shipped with VC 6.0).
|
|
|
|
|
the subject says it all.. please help me.. i'm going crazy over
the topic.. [confused]
selle
|
|
|
|
|
Have you looked at WMI. You can download Scriptomatic from Microsoft which should get you started.
|
|
|
|