Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
7
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #746
~67.4K People Reached
Favorite Tags

70 Posted Topics

Member Avatar for Zcool31

You need to link to the GL library. What you need is to add the [icode]-lGL[/icode] in your linker options. Likewise if you need glut or glu library functions you want [icode]-lglut -lglu[/icode] respectively. The trick is to remember that if you use any functions from included header files that …

Member Avatar for Константин_2
0
19K
Member Avatar for xixpsychoxix

Is there any reason you can't use the package manager (Synaptic in this case) to install it? It will resolve all of the dependencies for you.

Member Avatar for aralk
0
824
Member Avatar for NicAx64

The early attempts you've attemted to compile with the wrong architectural targets for your sources, it even warned you about that, obviously that's going to have issues. The final attempt you've set the correct architecture but the version of libgcc it has found is incompatible (as the errors state). Those …

Member Avatar for linuser
0
3K
Member Avatar for lss123

No problems here on GCC 4.3.3. What are the exact versions and compiler commands executed?

Member Avatar for JamesPhillips
0
701
Member Avatar for zeeven

Hang on is this a Project or a Thesis? Sounds a lot more like a project to me. In the sense that with a Project you are producing the system not just the research.

Member Avatar for angelicdemOOn
-2
128
Member Avatar for papanyquiL

So you want to write obfuscated code? Or you want to write a tool that obfuscates code for you? (i.e. removing comments, replacing meaningful names with meaningless ones, etc...)

Member Avatar for ghimangi
0
98
Member Avatar for don0369
Member Avatar for OffbeatPatriot

[QUOTE=wildgoose;902385]You will require a semaphore to keep both threads from accessing the same data simultaneously. [/QUOTE] A semaphore with only one token, more commonly known as a 'Lock'.

Member Avatar for BestJewSinceJC
-1
147
Member Avatar for sravan953

Look at the most basic computing definition of a buffer as temporary storage, RAM falls into this category.

Member Avatar for Stinomus
0
123
Member Avatar for K?!

So you want one class that has a whole heap of inner classes? What benefit does that give you?

Member Avatar for BestJewSinceJC
0
137
Member Avatar for dennbibbs

[QUOTE=dennbibbs;905593] 1- Discuss any 6 application areas of Computer Graphics? [/QUOTE] Perhaps you should be the one to start the discussion. [QUOTE] 2- Explain briefly what you understand by Matlab Figure? 3- Explain what you understand by Display Processor? [/QUOTE] Sounds like these questions were given to you, so you …

Member Avatar for niks1241
0
121
Member Avatar for aayush2687

I'd say shadwickman's assumption that you had little programming knowledge was also boosted by the fact that it appears you don't seem to understand .Net is not a programming language (I suppose more pressing is what university allows you to get to a masters level without understanding this). .Net is …

Member Avatar for Stinomus
0
271
Member Avatar for rmlopes
Member Avatar for rmlopes
0
156
Member Avatar for davebaum1

[QUOTE=serkan sendur;894204]get some microsoft certifications too, like MCDBA[/QUOTE] DBA isn't exactly programming-based. Getting certifications like that is unnecessary unless the specific job you are going for requires it - and if it does it likely requires a degree in computer science or similar anyway. Do a bit of research, the …

Member Avatar for siddhant3s
0
115
Member Avatar for anirbanjoy

[QUOTE=anirbanjoy;893039]Thanks .. that did help .. There is only one linking error now, it's an extern variable .. the problem is same .. "undefined reference to <var_name>" .. Need to share this variable .. that means I have to keep that extern stuff .. but, how?[/QUOTE] The short answer to …

Member Avatar for anirbanjoy
0
378
Member Avatar for walter clark

If you want portability or the ability to easily port between managed and unmanaged code then C++/CLI will provide the least effort. .Net is language-independent as everything gets compiled to an intermediate language first so you can use it's features through whichever .Net language you choose and you'll find a …

Member Avatar for Stinomus
0
833
Member Avatar for cruisx

try [code] SetConsoleTextAttribute [/code] Pass it a handle to the console and a number from 0-255.

Member Avatar for mrnutty
0
179
Member Avatar for luismanuel22

What is the high-level approach you are taking to solving your problem in parallel? As wildgoose said, it seems like you aren't actually running anything in parallel.

Member Avatar for Stinomus
0
92
Member Avatar for yun

[QUOTE=yun;888933]I want to read and write string from file, - Dont want to overwrite on the existing file [/QUOTE] So you want to read a string from a file and write it to another file? You haven't really explained what you are trying to do. [QUOTE] - Where to put …

Member Avatar for Stinomus
0
243
Member Avatar for OffbeatPatriot

Do you know what line the main_loop code in the thread gets to? Given it is flagged as a deadlock Im thinking this could potentially be a case where clicking 'close' caused your main thread to acquire a wxWidgets resource that your main_loop code needs to access before it reaches …

Member Avatar for Stinomus
0
124
Member Avatar for mahesh parmar

[QUOTE=mahesh parmar;886814]what is design tactics in terms of software architecture.[/QUOTE] Google for 'design patterns', also have a look at the Gang of Four patterns book.

Member Avatar for Stinomus
0
85
Member Avatar for aravasai

The cstdlib header contains the definition for the exit function as csurfer said, however up until recently this header was generally included by dependency - often unnecessarily - by other headers. So you are likely to see tutorials and books that rely on this - and other - header dependencies …

Member Avatar for Stinomus
-1
18K
Member Avatar for john_beginner

[QUOTE=john_beginner;884238] so, how compiler will distinguish that get_a(),no1 is come from class A & get_b(),no2 is come from class B [/QUOTE] Does it matter? If you look at the relationship you created, Class C [I]is a[/I] Class A and a Class B. Therefore Class C has the methods get_a and …

Member Avatar for indianapple89
0
109
Member Avatar for timb89

[QUOTE=yun;887230]the best way to use Recursive function is.. use Wrapper Function, as in the below case CheckPalindrome is the Wrapper function.[/QUOTE] I can't say I'd agree with your example. It's just a function that calls another function, the wrapper is pointless as it does no translation. Moreover the recursive function …

Member Avatar for Stinomus
0
1K
Member Avatar for eliza2044

You can just include the relevant headers from wherever they are installed on your system. That gives you the function declarations then you just need to link to the xerces library (usually something along the lines of libxerces-c.lib or libxerces-c-x.x.lib) to get the function definitions. No need to create your …

Member Avatar for eliza2044
0
262
Member Avatar for JaksLax

[QUOTE=JaksLax;887442]In the int Poly::degree() function, if I change return Poly[2] to Poly[15] it returns 134514720, no error about going out of the array range is shown when I run the program.[/QUOTE] No, you wont see any error. In C++ an array is not a class, it does not have member …

Member Avatar for Stinomus
0
117
Member Avatar for yun

As Salem said, if they require a username and password then it is likely copyrighted material and you would likely be violating copyright law by obtaining them elsewhere.

Member Avatar for Stinomus
0
437
Member Avatar for AbsoluteCPP

Application Architecture is exactly that, the architecture of an application. This includes the relationships between the components. Of course each application is different so largely there is a broad range of application architectures. Perhaps have a look at the Gang of Four books on design patterns as these would help …

Member Avatar for Stinomus
0
126
Member Avatar for swisschris104

[QUOTE=Narue;883676][B]> [B]>Can C++ be combined with divx to make a 3d game.[/B] The answer to any "Can C++ do <xyz>?" or "Is <xyz> possible?" is almost invariably yes.[/QUOTE] Except in this case as divx is a video codec. Utilising standard c++ and divx you will not make a 3D game …

Member Avatar for Narue
0
134
Member Avatar for shakeelahmed22

Also you have declared a class-scope variable [code]int array[] = new int[n];[/code] Then another variable with the same name at method-scope in the constructor. [code] int array[]= {1,2,3,4,5,6,7,8,9,10}; [/code] In the constructor you are modifying the method-scope 'array', not the class-scope one. When the constructor is finished it's 'array' will …

Member Avatar for javaAddict
0
166
Member Avatar for sam1

Images are not embedded into HTML files, they are referenced. HTML files are just text files, they tell the browser where to find the content. That is the HTML document tells the browser where to find the image files, in your case the folder in the same directory. MS Word …

Member Avatar for Stinomus
0
150
Member Avatar for Poab9200

[QUOTE=SanjitVigneshS;883529]It impossible to call anyone a professional programmer. May be one in a [B]million[/B]. [/QUOTE] If programming is your profession then I'd say you could quite confidently call yourself a professional programmer. Another skill that is required - probably at the intermediate level - is the knowledge of how the …

Member Avatar for Poab9200
0
124
Member Avatar for csy

It won't cause an exception, though reading from a dataset whilst it is being written to can cause serious race-conditions. Consider the case where 1/2 the data has been written to, then the writer is scheduled off, the reader is scheduled on and reads the data. It will get 1/2 …

Member Avatar for Stinomus
0
137
Member Avatar for Clawsy

You'll notice in the code there are matrix translation functions. These control where in the 3D space things are drawn. Have a read up on 'matrix stacks' for describing the different 'spaces' in a 3D world and the methods of positioning 3D environments should become more clear. Have a look …

Member Avatar for Stinomus
0
369
Member Avatar for Heli

[QUOTE=jencas;882440] You don't have a global pointer!!!!!! node is a variable in the scope of GenerateNodeList(). The lifetime of node ends with leaving the scope of GenerateNodeList(). [/QUOTE] Potentially you need to read both the code [I]correctly[/I] and the question. Both refer to a globally declared Node pointer named root. …

Member Avatar for Stinomus
0
116
Member Avatar for nain_tara
Member Avatar for ithelp
0
84
Member Avatar for dumrat

pthread_cancel would probably be your best option for cancellation and cleanup, though weigh up whether it is actually worth the effort to terminate the threads or just let them run to completion. Obviously this depends on the nature and size of the data and operations being performed as well as …

Member Avatar for Stinomus
0
79
Member Avatar for seriousgeek

[QUOTE=seriousgeek;866387]Can anyone please suggest what all computer skiils or languages should i know for increasing my chance in placements into companies like Yahoo?? Currently i know c.c++ and java..Is it necessary to know shell scripting and scripting languages like perl, python, php..Wat about networking??[/QUOTE] Well that depends on what you …

Member Avatar for Stinomus
0
166
Member Avatar for youngfii

The reason is that you have used 'guess' ([icode]while (guess != random)[/icode]) without giving it a value first. i.e. the first time you try to compare 'guess' to 'random', guess has no value. So initialise it to 0. No need to do that for 'random' as you initialise it before …

Member Avatar for jesseb07
0
115
Member Avatar for monkey_king

Erasing the map elements will remove the containers but it won't 'free' the memory you allocated for the objects contained within them.

Member Avatar for ArkM
0
2K
Member Avatar for DarthPJB

So with breakpoints, the value of the string in vector just before you extract it is valid? If so perhaps the replace the call to [icode]StringBuffer.at(i).PrintString[/icode] with something like "Hello World". And see what happens. That way you get a picture of what the value is in the data structure …

Member Avatar for DarthPJB
0
236
Member Avatar for SallyJ
Re: Loop

Why not just write a program that runs the loop and outputs 'k'? This really sounds like homework.

Member Avatar for jesseb07
0
149
Member Avatar for khenz

You're trying to assign a pointer to an object of type NumberList to a pointer to an object of type ListNode. EDIT: Though I'd thought that would be explicitly specified in the compiler error?

Member Avatar for ArkM
0
4K
Member Avatar for sfrider0
Member Avatar for richymac

Well you could fill a texture with random noise and pass this to the shader, it would be faster to generate this on a per frame basis than call a randomisation function - if that were possible (see below) - on a per-pixel or per-vertex basis. So why cant you …

Member Avatar for Stinomus
0
328
Member Avatar for Pogo24

[QUOTE=Narue;865945]>What is the difference between programming and scripting? Scripting is generally thought of as application extension that cannot run without the aid of a hosting application. Shell scripts, for example, can't run without the aid of the shell, but they're not a component of the shell. Programming on the other …

Member Avatar for Stinomus
0
98
Member Avatar for vishy_85

The most likely cause, and you haven't got a check for it, is that the file does not exist in the specified path. That will cause the error you are seeing.

Member Avatar for Stinomus
0
153
Member Avatar for zack.walters

Consider that you have declared them as type 'void'...perhaps you want them to be 'string'? But as above, that would just be scratching the surface. That code is.....?!

Member Avatar for ArkM
0
139
Member Avatar for Abbygail
Member Avatar for ArkM
0
284
Member Avatar for shuda009

You are trying to assign the return value of getline to a type variable of type 'string'. The getline function takes an input stream as it's first parameter, like you have given it, and the string that you would like to assign the extracted value to as the second parameter. …

Member Avatar for Stinomus
0
1K

The End.