473,386 Members | 1,842 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

There's something fishy going on with this compiler...

Hunderpanzer
Okay I'm using Bloodshed Dev C++ 4.9.9.2 and something odd has been happening.

I've been following book examples, and usually after it shows the entire code for a program, it gives an exercise to alter the code i just typed.

What I do is I save the code already written as a different name, so it doesn't cover up the original code.

After doing all the alterations to the new file, when I compile and run, it wasn't showing any alterations. I looked at the top, and it was still running the previous source file. I tried restarting the compiler and changing it drastically and it still ran the same old one.

There's not much of a serious problem here, I figured out I Just had to go into the actual directory and delete the already compiled version... But still I don't think that should have happened... and I'm basically curious.

Any idea why this might have happened ?
Jul 22 '07 #1
5 1179
weaknessforcats
9,208 Expert Mod 8TB
With Visual Studio, if you save under another name, the original file is still in the project and that is what will compile. You would have to remove the original file from the project and add the file with the different name and then build to get the changes.

Does Bloodshed follow this procedure?
Jul 22 '07 #2
To be honest, I have no idea. I just went in the compiler directory and deleted the one it was running.

But it's no problem, I just was a little curious, that's all.


Thanks :)
Jul 22 '07 #3
JosAH
11,448 Expert 8TB
To be honest, I have no idea. I just went in the compiler directory and deleted the one it was running.

But it's no problem, I just was a little curious, that's all.


Thanks :)
I played with an Eclipse pluging once: CDT (C/C++ Development Tool); it is
modeled after the JDT (Java Development Tool) which is quite good. Maybe
you can give it a try if you have enough spare time.

I sincererly *hate* the behaviour you described above; Eclipse manages those
projects much better.

kind regards,

Jos
Jul 22 '07 #4
I played with an Eclipse pluging once: CDT (C/C++ Development Tool); it is
modeled after the JDT (Java Development Tool) which is quite good. Maybe
you can give it a try if you have enough spare time.

I sincererly *hate* the behaviour you described above; Eclipse manages those
projects much better.

kind regards,

Jos
I'll check it out, Thanks!
Jul 23 '07 #5
JosAH
11,448 Expert 8TB
I'll check it out, Thanks!
Good; success; let us know what you find out and how good/bad the thing is.
I'm curious about it (it's been some time since I played with it).

kind regards,

Jos
Jul 23 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Alan Gifford | last post by:
I wrote a program to make sure that new would throw a bad_alloc exception if more memory was requested than was available. On my system, new allocates up to 2931 MBs of memory (I don't have that...
3
by: mrhicks | last post by:
Hello all, I have a question regarding efficeny and how to find the best approach when trying to find flag with in a structure of bit fields. I have several structures which look similar to ...
5
by: bonk | last post by:
Hello, IL does not have indexers. Infact the c# compiler compiles indexers to Set_Item and Get_Item (or whatever name I choose via the IndexerNameAttribute ). So how does c# (compiler) know...
20
by: Fred Hebert | last post by:
I am trying to learn VC.NET and convert some Borland C++ applications. The syntax differences are killing me... Is there an easy way to convert a hex string, entered by the user, to a binary...
34
by: priyanka | last post by:
Hi, I was wondering if we could parse or do something in the executable( whose source language was C). How can I use some scripting language like perl/python to find out the information about...
17
by: grinder | last post by:
i am writing a prog that reads mulitple lines from a txt file in succession into code that takes these lines as an input file that would be opened and from which data would be manipulated. As the...
10
by: piboye | last post by:
Hi ! I'm a academician in china. I have been intereted in C++ lasting. In reading the C++ Primer book, i have a trouble about union. In the book ,it said that union can have constructors and...
9
by: mps | last post by:
I want to define a class that has a generic parameter that is itself a generic class. For example, if I have a generic IQueue<Tinterface, and class A wants to make use of a generic class that...
9
by: squishy | last post by:
So what new suprises are in store for us with Orcas? I am downloading the VPC now to try it out myself. But, I will go out on a very sturdy limb here and say that MS will try and get developers...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.