hello! i just have a quick question: why would it come up with a
"cant onpen file because it is being used by another process" exeption? i have some code (much to0 big to post here) that makes one filestream (set to 'index.dat'), then one binaryreader from that stream. the reader reads...
ok, i have VC++ .net 2002 and i am trying to parse a text file. so far i cant use the way i used when i wrote this in C# with the streamreader. this is my code:
FileStream* fs = new FileStream("c:\\database.txt",FileMode::Open);
IO::StreamReader* sw = new StreamReader(fs);
String*...
hello. is there anyway to look for all the servers on a network? for example: i have a server peorgram and a client program. can i have many different servers listing on the same network (and i dont know there IPs) and have a client (on the same network) find all of them without having all there...
i am using visual c++ 6 to create a text adventure game. i have multipal headers and most have corasponding source files. one of the headers that dont is a header that i include in all cpp files. it has all the includs(like iostream and windows.h). the other is a header that just holds...
hello, i have some classes and functions i would like to put into a dll so i add all this code to another project, and override twofunctions on one of the classes. dose anyone have a tutorial for that that has nothing to do with visual c++?(as i am using devCpp) thanks
~metalhead
hi. i have been trying to find a way to change the text color, and the background color of spacific text. i have found the following example:
#include "conio.h"
int main(int argc, void** argv)
{
textcolor(LIGHTGREEN);
cout << "Hello World!!!" << endl;
textcolor(LIGHTRED);
cout...
hello, i am working on a project that needs to display the last page viewed on the browser, and needs to have the capabliity to e-mail it along with other informaion. iv been looking over the internet for a wile, and finaly came here. i dont know how to get the last page viewd, and i do know how...
ok, here is my situation, i need a database that contains titles to books, and each book has one or more assignments. each assignment has a end date, start date, name, description. also, the books have an optional array of lessons, each with a tital and a description, number of pages. i have...
is it possable to stop the program(like inside a infinite loop) for some time(like 5 seconds), but be able to acualy do things to the program(like click on buttons and stuff)?
ty,
METALHEAD
well, i know c++, and i was wondering if it is possable to make a class obusly this:
class aClass
{
public:
aClass(int iniInt){ theInt=iniInt; }
aClass(){ theInt=10; }
int getInt(){ return theInt; }
void changeInt(int newInt){ theInt=newInt; }
private:
int...
i am creating my first app in c#. and i have a edit box. i want to assign it to a int, how can i make shure that it dosent try to convert it if the edit box has somthing other than numbers. i am a c++ programer, and i already tryed
try
{
num =...
hello, im new to vc++, and i am useing one of my brothers books( using visual c++ 6 ) and i am on the second chapter, it told me to make a SDI , then make a dailog resorce, and link it with a class with all the controls as member vars. well when ever i try to make it, it says 'CSdiDialog' ...
i have just finished sams teach yoreself c++ in 21 days, and i wnted to start vc++, is there any (recent/updated)books that go into vc++ without focsing on c++ first?
thankes,
~metalhead
hello, i just started in java, and i installed J2EE 1.4 SDK and the free version of JCreator. and evry time i start my page, it comes up with java.lang.ClassNotFoundException , and then the class name. here is the sorce of the app:
public class javaTest extends java.applet.Applet
{
public void...
hi, right now im having problems, i have tryed to compile opeGl files, +some othe progects that require windows.h. when ever i try to compile, it says that it cant find any of my openGl headerfiles, nor can it find windows.h. can you plese help?
thanks,
metalhead
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.