No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
23 Posted Topics
Re: First off, If you have any services like disk defragmentator running stop those immediately. Okay, so you replaced the file. What does that mean? Basically you wrote over the part of the hard drive where the file was stored. This is similar to "deleting" the file via right click send … | |
Re: The Wiener process involves getting accepted to congress and taking inappropriate pictures of yourself. All jokes aside, the only reason I can think you might want to use that is to make a screensaver, which by the way would be [B]awesome.[B][/B][/B] [URL="http://en.wikipedia.org/wiki/File:Wiener_process_animated.gif"]http://en.wikipedia.org/wiki/File:Wiener_process_animated.gif[/URL] | |
Hi, in a given c program where you have [CODE]myvar = sumR(char * arg1, int arg2)[/CODE] sumR is a function in an assembly .s file. I have done all the calculations, but I have no idea how to return the value to the calling c program. Any ideas? Thanks so … | |
ARM's ASM is a breed in it's own. AMD and Intel, although different, have more closely related assembler than most. Someone mentioned the other day that AMD is just an Intel repeat, basically copying engineering designs and repeating them with reduced cost (as they don't pay to have it designed, … | |
Hi, I am tasked with writing selection sort in assembly. We are writing for the ARM processor. Currently, this is what I have: [CODE] sort2: 73 stmdb sp!, {v1-v5, lr} @ Copy registers to stack 74 ldrb r5, [a2] @ J = n 75 76 ldrb v2, [a1] 77 cmp … | |
Re: Here is what you are doing wrong: Say that you have [CODE]stirng s; [/CODE] and you want to get the length [CODE]cout << s.length(); [/CODE] or you want to insert a character [CODE]s.insert('x');[/CODE] or invoke any of the function associated with the string object. Okay, thats fine. But a string … | |
Re: First off, I want to say I understand why someone may be reluctant to just post the answer. After all people just post questions without any effort. On the other hand, sometimes the best way to learn it is to see it done first hand. #include <iostream> #include <iomanip> #include … | |
Hi all, I'm going to write a program to play this silly online game that I waste too much of my time with, so I'm here looking for advice. Which language do you recommend I use? The game is entirely html / css based with all of the commands being … | |
So, we were asked to design a vending machine. You can insert nickles, dimes, quarters, and dollars. I can add the amounts up, my only problem is that I can't get the input correct. My circuit is attached as a jpeg. Here are my questions. Any help is much appreciated. … | |
Re: I would declare [CODE] vector <char> charv ; vector<char>::iterator cit ; [/CODE] And then use strchr (string.h function) to locate the character you want. If I remember correctly it will return a pointer to the location of that character and then you can 1) copy it into charv [CODE]charv.push_back(*pch) ; … | |
Re: If you don't have to use a loop, here is an awesome way of doing this: [CODE] #include <vector> #include otherstuffyouneed using namespace std ; int main() { vector<char> cvec ; vector<char>::iterator cit ; cout << " Enter yo stuff " << endl; cin >> a >> b >> c … | |
I'm a computer science student at the University of Tennessee Knoxville and for my "Technical and Professional writing" course I have to interview someone in my field. Seeing as I know no computer scientist and my professors are too busy, would anybody in the wonderful Daniweb community be willing to … | |
Re: your on the right track, and I didn't read through all of the code so there may be a few mistakes in what I'm about to write, but here is the general path you want to take: In your initial menu I would recommend putting a fourth option that says … | |
Hi, I have begun using Visual Studio 2010 in an attempt to create a website. The website uses a Microsoft Access Database to store information and then displays this information on a page according to the city. So for Hendersonville it redirects to myDomain.com/Hendersonville.aspx Well, In development i realized the … | |
Re: If you are running Windows XP I am surprised that the updates failed to install. This is an issue more commonly incurred with Vista. Rik may be right, it could very well be your ram but it sounds more like a hdd issue. Windows will catch most ram errors before … | |
Re: I see that you have already solved this issue, but I would like to propose one more idea to you. If you install linux (always after Windows as windows does not play nicely with others), and the linux is using the GRUB bootloader you can modify the grub file to … | |
I have worked with Java, C, and C++ primarily on unix systems. I would like to get into Windows application development, and have two questions. (In your opinion) - What is the best IDE supported lanauage in the Windows environment that is capable of sending system events to change system … | |
I am taking a data structures class and we are using the standard gcc compiler on a unix system. This is fine and I have no troubles using it, but I would like to begin using an IDE for my labs. I am trying Visual Studio 2010 Professional with my … | |
Hi, I am about to set up a dual boot configuration on my machine. I plan to install osx on my pc, with windows 7 being the most used partition on the machine. I would like for windows to be out the outside of the hard disk so I may … | |
I'm looking for a starting point on this. Can someone point me in the right direction? I want to allow a user to create a new class object that will just store data. My class is data and my type is "flight" so: [code=java] Data flight1 = new Data("A string", … | |
Could someone please explain the following code to me? It's not for class, more personal curiosity. Thanks in advance [code=cpp] while(!feof(infp)) { fgets(buf, MAXLINE, infp); fputs(buf, outfp); } [/code] what I'm mainly curious about is the argument o feof "infp." | |
I have been struggling with this for a while. Will someone please help me? The issue is within a while loop. The while loop is reading info from getline, copying values from an input file to (1)double array type char[i][20] , (2)array type double [i]. The input file is as … | |
ifstream mystream(file_name); ofstream outputstream(filename, ios::out); do { mystream.getline(line, 100); mystream >> country_name >> happiness_value; total_happiness = total_happiness + happiness_value; count++; outputstream << country_name << " \t \t " << happiness_value << endl; } while (!mystream.eof()); the file ifstream is reading from is a .dat file, in this format: first 1 … |
The End.