Hello, I have some questions I thought of searching the web and I would be eternally grateful for anyone to answer some of them. How to properly override the ostream operator? What exactly is big O notation? How to count primitive operations? Is there a way to see how much memory my program uses? Can I use redirected input in eclipse or Xcode? What can I truly do with memory management in C++? Why isn't everything written in c++? What are the differences between protected/private/public inheritance? How many ways are there to initialize a primitive data type in C++ and …

Member Avatar
Member Avatar
+0 forum 1

fstream file; file.open("PasswordGenFile.dat",ios::out); In writing into a .dat file what does the following line mean? file.write((char *) this, sizeof(PasswordGenerator)); And how can i convert this bit of code if i want to write it into a .txt file?

Member Avatar
Member Avatar
+0 forum 1

Hi All, I am starting this article so that we may share various motivational thoughts (your own creation will be great), poetry, short stories and all. This goes my own created poetry for all you guys... "Behind the great mountains, a Sun shines everyday, making us to beleive there's still a new morning to bless us today. As that we grow up each day, making hatred and spreading evil, remember for someone will come and raise this in-devil. Know what you do and beleive in what you are, coz sometimes there's no turning back when you reach too far. So …

Member Avatar
Member Avatar
+1 forum 49

Hi All, I am looking for an algorithm/program that separates all of the data chunk i,e how many chunks are there. Moreover, that program will also be giving information of the size of the chunks and which are the elements. I am explained my problem by this following example suppose I have three chunk of data points and one isolated point. each chunk of data are related by some rule. chunk1: 1,2,8,9,11,12; connectivity: 1-2, 2-12,2-11,8-9,8-11 chunk2: 4,7,10; connectivity: 4-7,7-10,4-10 chunk3: 5,6; connectivity 5-6 chunk4: 3 Therefore, the total no of data points in this system are 12 and the dimension …

Member Avatar
Member Avatar
+0 forum 1

Was not sure where to post this, but let this a go. I m on my final year. And I have discovered in myself a passion for programming in C and started learning it but it is all in a beginning stage. I really bored of Java or I just don't feel satisfaction coding in Java anymore. But problem is that most of my course work uses Java. My 4th year project is in Android client for webservices, but so far it is hell a lot of time debugging and searching answers on stack overflow forum rather than learning:\ I …

Member Avatar
Member Avatar
+0 forum 3

The output of the following line of code is: Not Done End boolean notDone = false; if (notDone = true) System.out.print("Not "); if( notDone = false) System.out.print("Done "); System.out.println("End"); The answer is false but I am having a hard time understanding why. Aren't the if statements setting notDone equal to true which would print Not and then go to the second loop and set notDone equal to false then print out Done and then End since none of the if statemends are comparing notDone to the initial notDone variable. Thanks!

Member Avatar
Member Avatar
+0 forum 7

Hi I have a macro in excel that, creates an email in outlook. The issue I have is, this spreadsheet can be used by multiple people and I want their corresponding email signature in the email when they send it The signature code I have is : SigString = "C:\Documents and Settings\" & Environ("username") & _ "\Application Data\Microsoft\Signatures\ after the signatures path i need to do a wildcard that will pick up the users signature. I know the file I want ends in .htm can someone show me how i can use wildcard characters to pick up any users email …

Member Avatar
+0 forum 0

I'm using Swing's GeneralPath to create complex shapes and fill them. Usually I do this, and it creates a nice hexagon for me: [CODE] path.moveTo(100, 100); path.lineTo(150, 100); path.lineTo(180, 150); path.lineTo(150, 200); path.lineTo(100, 200); path.lineTo(70, 150); path.lineTo(100, 100); g2.draw(path);[/CODE] Suppose I wanted to create a donut-shaped GeneralPath, and do this: [CODE] path.moveTo(100, 100); path.lineTo(150, 100); path.lineTo(180, 150); path.lineTo(150, 200); path.lineTo(100, 200); path.lineTo(70, 150); path.lineTo(100, 100); path.moveTo(110, 110); path.lineTo(125, 120); path.lineTo(110, 120); path.lineTo(110, 110); path.closePath();[/CODE] Draw this and you'll get the same hexagon with a closed triangle in the middle (a pretty bad donut, yeah). That's all fine, but when I …

Member Avatar
Member Avatar
+0 forum 1

Hi all, it's me again. Currently I'm developing web-based information system using Microsoft Visual Studio 2010 Professional with VB language. I was doing fine with my work until several days ago. The web pages I've created work normally, but what makes me puzzled is that all user controls in the web page aren't populated in the General dropdownlist (upper left of the code behind window). It only populates the class name of the page.:?: Where actually is the setting menu for that dropdownlist? Here I attached a bit of printscreen of my problem. I will really appreciate your help. Thanks …

Member Avatar
Member Avatar
+0 forum 3

Hi.. this is not a "which is better" thread, although if you happen to have a reason for thinking so, please share your thoughts. First I just want to say that I do not want to have any flame wars or arguments or anything like that. Please keep emotional arguments out of this thread!! On to my question... I consider myself to be a mid-level or so PHP developer. I love the web and programming for it, and while I am not bored of PHP (still have things to learn!), I feel it is time to spread my wings a …

Member Avatar
Member Avatar
+0 forum 3

Hello guys, I am very interested in the Common Lisp programming language, but I need to know if it can be used as a general programming language. As in, if I wanted to create an IDE for three separate languages, then make an image editing programs after that, then make some other program, etc. Would Lisp work for all of these? Also, I haven't heard anything about Lisp GUI programming. Does Lisp support GUI programming, or can I use some other libraries for it, or how would that work? Thanks in advance, - [B][I]WolfShield[/I][/B]

Member Avatar
Member Avatar
+0 forum 4

The End.