337 Posted Topics

Member Avatar for jeffcogswell

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 …

Member Avatar for saahiloberoy
4
674
Member Avatar for veledrom

>> 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 …

Member Avatar for Elihu5991
0
255
Member Avatar for aman rathi

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 …

Member Avatar for aman rathi
0
111
Member Avatar for Suzie999

[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 …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for NicAx64

Hi all, Is anyone here using SuZUKI 1419 VES laptop mode? I need some information regarding that model. -thanks in advance--

Member Avatar for iamtoogood
0
61
Member Avatar for kashifboy

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. …

Member Avatar for Narue
0
100
Member Avatar for jeffcogswell

Thanks Jeff Cogswell , write more articles like this for the paralization too. we are very much like to read. --Thanks in advance--

Member Avatar for NicAx64
0
275
Member Avatar for NicAx64

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 …

Member Avatar for Ancient Dragon
0
654
Member Avatar for Taimur.Ace

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 …

Member Avatar for NicAx64
-2
360
Member Avatar for neoraghav

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?

Member Avatar for neoraghav
0
2K
Member Avatar for ToRtUgOxX

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 …

Member Avatar for gashtio
0
419
Member Avatar for NicAx64

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 …

Member Avatar for mitrmkar
0
145
Member Avatar for itiwcsingkaww

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]

Member Avatar for NicAx64
0
115
Member Avatar for Doomreaper

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 .

Member Avatar for Nick Evan
1
225
Member Avatar for happygeek

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.

Member Avatar for cornholebagtoss
0
387
Member Avatar for NicAx64

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 …

Member Avatar for chococrack
0
189
Member Avatar for CodyOebel

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.

Member Avatar for NicAx64
0
229
Member Avatar for asa88
Member Avatar for asa88
0
217
Member Avatar for afizaex

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 …

Member Avatar for afizaex
0
344
Member Avatar for PixelExchange

>> 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 …

Member Avatar for PixelExchange
0
151
Member Avatar for lapunluyang

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 …

Member Avatar for NicAx64
0
206
Member Avatar for XMasterrrr

>> 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 …

Member Avatar for XMasterrrr
0
170
Member Avatar for grahf23

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 …

Member Avatar for grahf23
0
157
Member Avatar for vaishali_mittal

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). …

Member Avatar for ApocDen
0
126
Member Avatar for therstonsplace

do you looking for this [url]http://www.wotsit.org/list.asp?search=jpeg&button=GO[/url]!

Member Avatar for NicAx64
0
107
Member Avatar for Redhaze46

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' …

Member Avatar for NicAx64
0
132
Member Avatar for the.future.zone

>> 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 …

Member Avatar for Nick Evan
-1
579
Member Avatar for PixelExchange

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]

Member Avatar for PixelExchange
0
145
Member Avatar for fizzix66

>> #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 …

Member Avatar for Duki
0
144
Member Avatar for AutoC

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]

Member Avatar for embooglement
0
114
Member Avatar for caribedude

: DEBUG_IDEA: I suggest you to call GetLastError() and see whether this is an Privilege problem or not. Then we can pinpoint the problem.

Member Avatar for caribedude
0
283
Member Avatar for PCBrown

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.

Member Avatar for WASDted
2
406
Member Avatar for Empireryan
Member Avatar for AutoC

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 …

Member Avatar for AutoC
0
251
Member Avatar for shrublet

>> 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 …

Member Avatar for NicAx64
0
158
Member Avatar for jumpdlite

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] …

Member Avatar for NicAx64
0
167
Member Avatar for dorien

[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.

Member Avatar for dorien
0
4K
Member Avatar for NicAx64

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 …

0
97
Member Avatar for gerard4143

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 …

Member Avatar for DAlexNagy
0
232
Member Avatar for AutoC

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]

Member Avatar for Stefano Mtangoo
0
312
Member Avatar for spamwich56

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. …

Member Avatar for treasure ola
0
114
Member Avatar for aeinstein

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 !

Member Avatar for NicAx64
0
194
Member Avatar for jelinky

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); } …

Member Avatar for jelinky
0
95
Member Avatar for shahzaib g

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 …

Member Avatar for NicAx64
0
86
Member Avatar for mrkaran

>> it says no such file or directory 'highgui.h' Do you you add the include and library directories to the Dev C++ IDE correctly?

Member Avatar for NicAx64
0
183
Member Avatar for newbie_to_cpp

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 …

Member Avatar for NicAx64
0
110
Member Avatar for NicAx64

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 …

Member Avatar for mrnutty
0
189
Member Avatar for John Sand

>> !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.

Member Avatar for John Sand
0
174
Member Avatar for tehmarto

// :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 …

Member Avatar for tehmarto
0
133
Member Avatar for low_coder

>>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 …

Member Avatar for low_coder
0
99

The End.