I totally disagree =) Otherwise, how would I learn? ;) best regards
hint_54
Posts
-
Constants optimization -
Constants optimizationThere's a line before that :P
tOC oc;
tOC is the datatype, I'm just casting ;) regards -
Constants optimizationHi all =) An easy one. I'm just not sure the compiler does this the way I think it does... The following expression would be evaluted to a constant, right?
(tOC(1) << (sizeof(T) << 3)) - 1
Lets say that, when compiled, the code will no longer be an expression, but a constant value. But what about this?oc & ((tOC(1) << (sizeof(T) << 3)) - 1)
Evaluates to:oc & const
Is this right? Best regards -
Hiren's BootCD with SCSI drivesHi all Anybody knows out to run a disagnosis on a SCSI drives with hiren's boot cd? best regards hint_54
-
Uploading directoriesIt's a web site =) It's supposed to go online publicly, but the part that will allow file submissions is for admin only, so i'm thinking of writting a script for the client side too that creates a form for file submissions, this way (because i'm running on the client side) I can browse the drives. hint_54
-
Uploading directoriesHi all =) I need to write a script that allows the user to upload several files to the server, but I really wan't to avoid uploading them one by one, as they could be up to 400! =S I'm wondering if any of you guys knows a way of uploading entire directories (this would be ideal!) to the server. best regards hint_54
-
Invalid pathI'm formating it at this very moment =) but I apretiate your help ;) Thx, and best regards hint_54
-
Invalid pathAnything specific? Everything looks ok :confused: hint_54
-
Invalid pathRoath Kanel wrote:
What is the software media that you want to install (CDROM, network, USB HARD DISK...)?
Both HDD: - Corel Update (downloads automatically, but then can't run it) and - Hofmann Digital Album (download too) best regards hint_54
-
Invalid pathRoath Kanel wrote:
My suggestion from here you should read about networking feature of windows vista. It might probably have some feature that improve its security feature and make you difficult to communicate with the other client on the network. I think with a proper condition, you will be able to make your windows vista and xp could be able to communicate with each other.
Ups =S my mistake !! I'm not trying to install the applications on my computer (WinVista), I'm trying to install them in the notebook (WinXP), that's the one throwing the error. :-O Sorry about that And thanks for your reply ;) best regards hint_54
-
Invalid pathI ppl =) I have 2 computers connected through a router (local network). One of them (mine, a desktop, connected by cable) used to be called \\hintroom (by this time, I was running XP SP2), but then I installed vista and the computer is no longer called by that name. The other one (a notebook, connects to the router through wireless) and is running XP SP2. The problem is: when trying to install some applications I get an error message "can't access \\hintroom\documentos p\Bruno - Os meus docs\As minhas imagens" The thing is: - There never existed such path at my computer (the desktop) but there are some things that make sense in it: - "documentos p" stands for "shared documents" - "Bruno" is the user name for the notebook (the one that has the problem) - "Os meus docs" stands for "My docs" - "As minhas imagens" stands for "My Pictures"/"My Images" I don't know if this is of any relevance, but both setups that caused this (yes, they where only two, so far) where graphic applications (a program for building digital albuns, from Hoffmann, and a Corel plugin, I think) If you guys could please help I would be greatly apreciated best regards hint_54
-
Template magicThis was the line that produced that error tLgInteger::tLgInteger( tElement nValue ) So it's just like CPallini said: "No more alcohol to the linker!" ;p hint_54
-
Template magicNo question ;) just found that funny :laugh: hint_54
-
Template magiclauncher.obj : error LNK2001: unresolved external symbol "public: __thiscall tLgInteger >,unsigned __int64>::tLgInteger >,unsigned __int64>(unsigned long)" (??0?$tLgInteger@V?$vector@KV?$allocator@K@std@@@std@@_K@@QAE@K@Z) ;P hint_54
-
Handling imagesDjii :-O thx !! ;) hint_54
-
Handling imagesI'll take a look ;) thx hint_54
-
Handling imagesGreetings I'm building a website that has an automate engine to display pictures. There is a menu that lets you choose the event. The directories are organized like this: - root -- Weddings --- WBlaBla1 ---- Pic1 ---- Pic2 ---- PicN --- WBlaBla2 ---- Pic1 ---- Pic2 ---- PicN --- SomeOtherTypeOfEventWithTheSameStructureHasPreviously -- SomethingElse The purpose is to sell the pictures, so it will have a cart shop. The problem is that I have the pictures in very high resolution, and I want to prevent the users from accessing the pictures in this format (i.e. 1807x1772). I know that PHP can handle this (i.e. display thumbnails) but the thing is that, with time, the events will be more and more, and this consumes space in the server, and the space is rented, offcourse. So I had the idea of writting a C++ application that converts ALL the pictures in a directory to a low resolution version AND with a water mark, that way the sysadmin could convert the pictures before uploading them to the server. What I would like to ask is how to do this in C++, I mean, not search the pictures nor that sort of things, but how to lower the resolution and add the water mark to them. The pictures are all in JPG format. Best regards hint_54
-
ReallocationOk, thanks hint_54
-
ReallocationIs it possible to reallocate using operator new? // C some_ptr = malloc( sizeof( some_type ) * n ); ... // change "n" some_ptr = realloc( sizeof( some_type ) * n ); // C++ some_ptr = new some_type[n]; ... // change "n" // Now what? Best regards hint_54
-
Connection works in one wayHi I have two notebooks connect by cable (crossfire) and all disk drives are shared on both computers. Ping requests work in both ways. The OS is XP Pro. Lets call the computers "targa" and "asus". When in the "asus" machine, I can access "targa" through "my network places" (all the shared folders show up), but when accessing from "targa" to "asus" the folder is empty (not even "targa" shared folders appear). At first, I considered the firewall, but all seams correct, then the cable, but ping works, also a bad network configuration, but it seams that the it was working before (it just doesn't anymore). Any suggestions will be appreciated best regards hint_54