337 Posted Topics
Re: Hi, Nobody hit the first question here, So I decided to shoot it now!Please don't hurt me I'm completely a nooob in parallelization, specially in the areas like dynamic code analysis for parallelization. I completely lost and totally can't imagine what's going on behind the software tool? need to understand … | |
Re: >> I don't want to run it CD though (I think it is called Live CD yes it called live CD, but not extract a live distro.But you could run a live distro. A good choice is slax, where you can select the modules using the web page and download … | |
Re: Oky man , just dig the past threads and google before you ask. CodeLite IDE is better than that(for me). Turbo C++ 3.0 and it's IDE is still using in the industry where we need to develop the real time applications for x86.For a example ,you need to develop a … | |
Re: [QUOTE=evstevemd;1342781]But that is reverse engineering which we cannot avoid. If you need such tough security, then encrypt withh something like AES 128 et al and decrypt the file before using. But there you will have to add library for encryption[/QUOTE] \ This won't be a issue at all.There are something … | |
Hi all, Is anyone here using SuZUKI 1419 VES laptop mode? I need some information regarding that model. -thanks in advance-- | |
Re: are you asking about how to identify whether user entered a integer or other? well one way of doing that is fetching the input stream (std::cin) to (std::string) and then parse it for correct format.For that you can write your own state machine or you can use regex for this. … | |
Re: Thanks Jeff Cogswell , write more articles like this for the paralization too. we are very much like to read. --Thanks in advance-- | |
This program will use arc-consistency to remove the invalid values from the variable domain and generate the permutations for the 8 queen problem. Here is the source code with the make file. chessboard.h [code] #include <iostream> // uses std::cout std::cin #include <stdlib.h> #include <stdio.h> // uses exit(0) and fprintf #include … | |
Re: there is a project called xboard. xboard is just only the graphical user interface to the underlying GNU chess engine. Ya GNU chess engine consists an AI engine too than a simple min-max algorithm.And to hack it's codebase,you needs a PHD in mathematics. If still you didn't lose your interest … | |
Re: you want to up the flag read only or you just need to lock the file while your application is running? I suggest you to use a lock here. For that I need more information , are you on the linux? | |
Re: or you can just open the socket. Use HTTP protocol,it's easy. just socket() connect() read()/write() it's simple than you ever think. And the good news is inside linux these libraries are already there. (these are system calls in the POSIX interface,so every *nix got these). and if you decided to … | |
Hi, I came up with a difficulty that adding the libmapi32.a to the codelite IDE linker options. I go menu->settings->build settings->select gnu-g++ in the left tree->switch-> and change the -l to the -lmapi32, but the problem is the IDE still does not invoke the `-lmapi32`. I reboot the PC restart … | |
Re: Is this what you are looking for ? [url]http://en.wikipedia.org/wiki/Euclidean_algorithm[/url] anyway google bit before posting, never mind anyway. [code] function gcd(a, b) if a = 0 return b while b ≠0 if a > b a := a − b else b := b − a return a [/code] | |
Re: hi, I know this thread is very old,I came here to dig the thread, and I want to acknowledge all that link is now not working. Please be kind enough to update that link again . | |
Re: I use google maps to get navigation help inside the colombo city. I regularly use my symbian 6600 phone with GPRS to access google maps. | |
hi, Does someone have a good books(if free fine but commercial even oky) on code reviewing and industry c++ projects? I mean how I could do a professional code review according to the industry standards? I need to read a one and want to listen from the experienced ppl in … | |
Re: could you tried the SendMessage() API call? and I recommand you to send WM_COMMAND message instead of the WM_LBUTTONDOWN message. process the WM_LBUTTONDOWN inside your main window procedure and extract the coordinate values and send them as WM_COMMAND. | |
Re: >> oh forgot to put in my main function: Either you forget to breath, don't even forget the int main()! | |
Re: so what you have above is called the problem scenario.So you need to analyze the problem and model the data structures.You can use the help of UML for that. Just sketch a simple UML for the data model will help you a lot. However let's rush into C++ code(because I … | |
Re: >> My question is.. exactly how would I go about increasing the number of pixels that are/will be displayed within every inch of a given document/or image my program creates? hi , you can't increase the pixel values in the Device Coordinates. But you can change your map mode to … | |
Re: Of course In win32 or under linux I never used the inline assembly. But there are some places that you should need to write assembly code. In this semester I have a course unite called Operating system engineering. and we study about Operating systesms. We are following the bran's kernel … | |
Re: >> Thinking in c++ ( i think it's too hard for a newibe. No just saying read that book with confident, that book is for newbies. But don't forget to do the exercises after each chapter.If you stuck with something just shoot your question if you can't find the answer … | |
Re: When the C++ compiler parse your code line by line. Until it sees the line number 32 there will be no symbol name called countGrade on the symbol table. So you have to declare it's prototype before you use it in the main. on line number 4 bellow. [code] #include … | |
Re: Well you better buy a super computer ! Just kidding bro. Oky I'm a laptop user too. From my personal experience I concern more on battery life. battery life is a important concern.I don't think i3 lappys support more than 1 hour battery life(because the processor is too energy consuming). … | |
Re: do you looking for this [url]http://www.wotsit.org/list.asp?search=jpeg&button=GO[/url]! | |
Re: The java compiler supports something called 'compiler API' one of my friend wrote a small IDE using swing classes in the previous semester.If this is related to java compiler I could ask him an tell you how to.And pleasure. And about gcc toolchian there is something I heard 'gcc plugins' … | |
Re: >> If I can program a chip myself, what are the best languages to program a chip? Well bro , I'm learning the Verilog these days.It comes free for the linux. >> Can I program a chip and program it myself? Or must I have a company to do that … | |
Re: I didn't get your question clearly. Are you looking how to create system fixed fonts? [code] HFONT hFont=(HFONT)GetStockObject(SYSTEM_FIXED_FONT) [/code] | |
Re: >> #3 - Technically possible, but you'll get a load of exceptions. Newer compilers probably won't even compile that. that is where the `reinterpret_cast<>` exists.The safe way around this is the `dynamic_cast<>'.And the exception is `std::bad_cast` exception.But I never heard that newer compiler does not support it anywhere , yes … | |
Re: Well that's where union's are there. Read a chapter on a C++ book about unions. [url]http://www.codeguru.com/cpp/tic/tic0085.shtml[/url] ![]() | |
Re: : DEBUG_IDEA: I suggest you to call GetLastError() and see whether this is an Privilege problem or not. Then we can pinpoint the problem. | |
Re: price is higher isn't it? I could buy a sophisticated SSD disk for that price very easily. Hay you guys and girls heard about the SSD drives , the diskless drives. With good speed and without the hard disk noise. | |
| |
Re: Oky for more explanation. In the C++ Annotations tutorial, it describes. [quote] string::substr() * without arguments , a copy of the string itself is returned. * The first argument may be used to specify the offset of the first character to be returned. * The second argument may be used … | |
Re: >> I'm aware of OpenGL for graphics but I don't know if this would be overkill, oky , do you oky with the GLUT library? Oky then , in glut there is a function [url]http://pyopengl.sourceforge.net/documentation/manual/glutTimerFunc.3GLUT.html[/url] glutTimerFunc ,that you can set a callback function that should be called after that time … | |
Re: you can use the '>>' operator or divide by 2 (same thing). But '>>' operator is really speed then the divide by 2(but in modern day computing it doesn't count a lot). for a example you got a integer 'j' to convert to binary. Then, this is the algorithm. [code] … | |
Re: [CODE]int x = 300; char out[4]; memcpy(out, &x, sizeof(int));[/CODE] No offense but writing code means you are breaking the ANSI C++ standard. This will execute very distinct in little ending to big ending machine. so you better take this into account. | |
hi all, I have a Dynabook SS 2010 lappy.I already installed the debian on it. But it seems to be slow. I need a linux version that is something optmized for my laptop.Anyone who is using Dynabook SS 2010 here? Share your ideas. I started with the dsl. But it … | |
Re: Are you looking for the C++ book to learn industry level skills. Then the answer is you can't. These days I'm participating my first days with my client , and he needs everything professionally.I think that I already got enough bookish skills/knowledge in C++ enough that I needed. But I … | |
Re: The problem orig is where VC++ and g++ uses two different formats of name decoration. For more information refer here: [url]http://en.wikipedia.org/wiki/Name_mangling[/url] In the g++ faq this question is already answered. refer to it. [sorry]Ops ! didn't see your above comment ~evstevnmd()[/sorry] | |
Re: That's called deploying an application in the solution space. In the visual C++ there is an option called build release. and in your project directory there is a sub directory called release. and the difference between the release and debug is release is without debug symbol tables and dead optimized. … | |
Re: hate to dig in this Lonunge man.Probably a time waste ,My boss give me to write whole linux kernel from scratch. Anyway you made my day !Thanks ! | |
Re: so in the line 47, if the line unit=="F" || then convert it to cel's. does it sounds complicated? [code] void convert_F_to_C(string &); // you have to implement this function // do you need help on implementing this? [/code] and on the line number 47, [code] if(unit=="F") { convert_F_to_C(strtemp); } … | |
Re: oky SmartBoy! never mind, I'll help you. Are you oky with the core C++? (your smart so I'm sure on this). Then the next thing that you need to know is [url]http://en.wikipedia.org/wiki/Finite-state_machine[/url] so what actually a calculator does is it parses the input using a simple state machine and return … | |
Re: >> it says no such file or directory 'highgui.h' Do you you add the include and library directories to the Dev C++ IDE correctly? | |
Re: Oh man ! OFFTOPIC here ! Hmm I'm late here to the male female war. Dudue ! one thing exists ! Oh man you'r male right,Think about a female girl. She can just marry and have enjoy what her husband (that means poor hardworking males ) is offering to her.So … | |
Hi all, I got a idea! if you have open source project ideas please share them on this thread. There are many tons of open source projects out there in the internet. what here expected is fresher level complex code-bases. :TODO: requests are welcome. so the final year students who … | |
Re: >> !fin.eof() I think the error is here.The eof() is only a one condition. !file.eof()&& !file.fail() && !file.bad() please don't forget to optmize this code using demorgan's rule. | |
Re: // :IDEA: if you can find the DLL name then you could go to the [url]http://www.sysinternals.com/[/url] and download the process explore.Don't worry about Process Explore for viruses because sysinternals is a microsoft's friendly site. Then open it (procexp.exe) and view menu->Lower Plane View->DLL's Then select the dll and right click … | |
Re: >>so is it better to open (fopen) and close (fclose) the files before and after each operation or open the files at the beginning of the program and close them on exit? my openion is if you don't access files regularly then then open it and close it. In linux(possibly … |
The End.