5,676 Posted Topics
[url=http://n.ethz.ch/student/mkos/pinguin.swf]flog the formal feathered free-styling floater[/url] | |
Re: [QUOTE=Abraj;287874]I was always facinated by the field of IT, so now i wish to make a career shift. I wish to make a career as a software professional. Friends, kindly guide me on how to start? Which courses to join? etc.[/QUOTE] I would look into some night courses initially -- … | |
Re: [QUOTE=cscgal;287602]I'm reallllllly sorry ... it's me tinkering with stuff. I kinda sorta mighta been doing something that caused table locking issues and I couldn't get it to free the user table without restarting MySQL. Won't happen again. I promise![/QUOTE] You're dealing with computers! Don't make a promise you can't keep. … | |
Re: [QUOTE=lol_hacker101;287495]I am Roman Catholic, but if it were my choice, we would celebrate Hanukkah and Christmas, because i am accepting of all religions... regardless of beliefs or disapprovals of my own church.[/QUOTE]But what about buddhism, mithraism, druidism, paganism, LDS, bahai, etc. etc. Wouldn't you have to celebrate [I]all[/I] of them … | |
Re: I've been reading Discworld lately. Also, many of the Zanth novels (Piers Anthony) are wonderful for geeks -- very punny -- er -- funny! I'm just about through with the Chronicles septet, two more to go. And the Wizard of Oz books are pretty neat. These can be downloaded from … | |
Re: Beanie and Cecil (the seasick sea serpent) [I]Commming Beanie-boy!!!![/I] Anyone remember [I]that[/I] one? | |
Re: [QUOTE=Cain;116014]Man, yall are still raging on about this? Ha ha, Im out for three months and look what happens.[/QUOTE]Because the above post is a full year and 1/2 old, I find [QUOTE=lol_hacker101;287481]I agree, this is a bit of an unnecessary argument. I think the rules are fine as they are. … | |
Re: [B]Anatomy of an error message:[/B] OK, check your code. Definition for [I]enterScores [/I]is: [INLINECODE]void calculateAverage(int *, const int, double &);[/INLINECODE] You call the function with [INLINECODE]calculateAverage(score, SIZE, averageScore);[/INLINECODE] The error states [quote]gradedani.cpp:19: error: cannot convert `double*' to `int*' for argument `1' to `void enterScores(int*, int)'[/quote]Argument 1 -- might mean [I]score[/I]. … | |
Re: [QUOTE=roryt;284861]I can't believe that would be his real name. That would just be shameful.[/QUOTE] Wouldn't that depend on what country they were from? Like in his home country the name might mean "Powerful Ruler" but in another it translates into "Butt of a Dog". It ain't [I]his[/I] fault.... :) | |
Re: [QUOTE=DMR;283396]Koalas are cool, too; they have such a tough life- hang out in tree, munch vegitation, sleep. Lather, rinse, repeat. :)[/QUOTE] Not only that, they eat only eucalypus leaves -- which are highly alcoholic. They look that way because they're stoned! | |
Re: [QUOTE=JRM;287392]...for spaces! This is another thing where I beat the code into submission. I just want someone to tell me if this is "good programming practice"- or have i gone off on a tangent. Is the use of the member access operator OK? All this program does is take a … | |
Re: Clarification: 1) You do not wish to use ANY local variables at all, so the only variable allowed in the function is the pointer to the string. 2) Using another function is not allowed. 3) You want to remove all 'S' characters, not just the first with this function. 4) … | |
Re: [QUOTE=Ancient Dragon;285468]the term "computer engineering" is misused by most people in the USA also. [/QUOTE] Not if we've defined the term itself to mean how we use it. What country first used the term "computer engineering"? We should ask them. | |
Re: [CODE]#include <iostream> #include <cstring> int main() { char wordArr[5][10]; bool contr = false; size_t i, j; for(i = 0; i < 5; i++) std::cin >> wordArr[i]; for(i = 0; i < 5; i++) { for(j = 0; j < i; j++) { contr = strcmp(wordArr[i], wordArr[j]); [color=red]// If the above … | |
![]() | Re: 1: Take notes in class 2: Near test time, [I]glance[/I] thru notes 3: If someone else is willing, pass info back and forth before test 4: Plan on opening the book up to the last day of class, then decide to forget it. |
Re: [QUOTE=cscgal;283205]Those are similar to my hours, especially now that the bowling alley is open and it closes at 1 am.[/QUOTE]Gee, so after 1AM you can just go [url=http://img297.imageshack.us/my.php?image=leaguebowlinghq8.swf]here[/url] :D [QUOTE=blud;283359]I goto sleep at 12:30-1am and wake up around 7:30-8am.[/QUOTE]7AM?!?! Heck, [I]Life begins at Noon![/I] | |
Re: In my field of Software Engineering, even though math comes easy for me, I never really needed very high-level math. I can take an equation and develop the code to compute the answer. In a sense, the equation is the description of the problem, and that's generally easily converted into … ![]() | |
Re: [B]Infarction[/B] is correct. Probably the easiest way to [I]start[/I] this solution is one value at a time. Find the min and max. When you understand that, add the second min and max. Etc. | |
Re: [QUOTE=happygeek;283902]As for the brown sauce, it's also known as 'chop sauce' or 'meat sauce' and is best known in brands such as 'Daddies Sauce' which probably hasn't helped pin it down much...[/QUOTE] I wonder if it's similar to our A-1 steak sauce. [QUOTE=sharky_machine;283912]I actually quite like British food: I had … | |
Re: [QUOTE=joeprogrammer;285039]I'm using the free [url]http://dhost.info[/url] to host my website, it offers PHP/MySQL support, 100 MB of webspace, and best of all, no ads. Sorry no CP, although it does have FTP access.[/QUOTE] Suonds like a dream host! | |
Re: [QUOTE=QVeen72;284090]Hi, Download that Zip file And Goto Project Properties -> Make StartUp Object = scientific. its a good code.. No need to Re-Invent the wheel Regards Veena[/QUOTE] Excuse me, but if you give them code to a project they want to do, how can they possibly learn how to program? … | |
Re: [QUOTE=anandarose;285269]i totally didn't understand what you were trying to say. Go back and actually spell the words out.[/QUOTE] Agreed. See [url=http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies#faq_keep_it_clean]The Rules[/url] | |
Re: [QUOTE=Ancient Dragon;285300]>>but i dont think people develop software necessarily have to be in the respective profession most developers do know quite a lot about the business of their clients. Programmers don't work in a black box or a vacuum. You don't have to have an M.D. degree, but should know … | |
If anyone has the time or inclination, I'd be interested to hear what others think of [url=http://www.openwatcom.org/ftp/]Open Watcom C++[/url]. Unlike DevC++ it's still under development so it may be a better compiler for those that can't/won't purchase one. I just downloaded it myself so it'll be a while before I … | |
Re: Ginger was pretty, but Mary Ann was really cute -- more my type. :) | |
Re: Try adding [INLINECODE]fflush(stdout);[/INLINECODE] immediately after your [INLINECODE]fprintf()[/INLINECODE]. Linux is probably buffering the output, so the display waits until the output buffer is full before displaying the data. But it never gets filled because of the [INLINECODE]kill()[/INLINECODE]. [INLINECODE]fflush(stdout)[/INLINECODE] will force the buffer to be displayed and cleared. | |
Re: #1) Don't post a million lines of junk, the first few lines is enough #2) as per [url=http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies#faq_keep_it_on_the_site]The Rules[/url], answers will be posted here #3) Don't post an email address on a public forum -- you wanna get spammed to death? ;) The file is a [I]binary[/I] file (there's no … | |
Re: It seems to me you're going about this programming stuff the hard way. Based on the code you posted, you have never compiled the program. You really should be writing it a piece at a time, testing that piece, and move on when it's working. You're going to spend a … | |
Re: Did you try GOOGLE? And in English, after each sentence you [I]always[/I] add a SPACE. Sentences are not .com addresses. ;) | |
Re: You have to open the file in BINARY mode. This mode allows you to read files that contain binary records instead of lines of text. | |
Re: First of all, your title violates our rules. [url=http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies#faq_keep_it_organized]Please Read This[/url] In the code [code] char 1 = 'A'; char 2 = 'T'; char 3 = 'C'; char 4 = 'G'; [/code] where are the variable names? Variables cannot start with a number. What you are trying to do is … | |
Re: Welcome, enjoy your time here. Ask what you need, help when you can. Please take the time to read [url=http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies]the Rules[/url] | |
Re: [B]Sweety[/B], the point [B]Narue[/B] is trying to make is that rather than posting only a description of the project, post what you've already written. It will save you time and trouble. All the people that can help will help. You don't have to ask [I]if[/I] someone will help. They just … | |
Re: [QUOTE=d1e9v85;284422]i made a bubblesort function [code] void BubbleSort( const char *array[] , int size ) { int result; for ( int next = 0; next < size - 1 ; ++next ) { for ( int j = 0; j < size - 1 - next; ++j ) { result … | |
Re: I agree, it doesn't really matter on an individual basis. The thing to keep in mind is the [I]other[/I] functions in the system. How do they order similar function params. | |
Re: Choose a console application. That's the easiest to start with. | |
Re: Does it seem to work when you compiled it? ;) That's your first test. [B]Narue[/B] is correct. Every character is simply a number that displays as a character. For example 'A' is 65, 'B' is 66, so they can be treated as numbers. | |
Re: [QUOTE=affiliate7;284060]It really worked, Narue :)[/QUOTE] Yep, [B]Narue[/B]'s good! Welcome Back! | |
Re: [QUOTE=Mushy-pea;283464]But tell me, can using[code]void main ()[/code]ever cause undefined behavior in a program?[/QUOTE] Ever? Yes. See [url=http://users.aber.ac.uk/auj/voidmain.shtml]this[/url] Under normal circumstances, though, no. But since it's wrong, don't use [I]void[/I]. | |
Re: [QUOTE=jd_1604;283456]Whenever I use #include<gl\glut.h> Borland tells me it is unable to open include file and Visual C++ gives me 'undeclared identifier' error I feel sure I have all relevant .h, .lib and .dll files in the correct place.[/QUOTE] What is the FULL disk and path of the GL files that … | |
Re: How much experience do you have in C or C++? What OS are you using? What compiler are you using? | |
Re: [QUOTE=aznballerlee;279725]My task is this, and I'm having trouble finishing up the code: [LIST=1] [*][/LIST] Here is what I've managed so far: [CODE]void deleteS (char* ptr[]) { int*counter; for (counter = ptr; counter<ptr + strlen(ptr); counter++) { if (isupper(*ptr + counter) strcpy (" ", i); else if (*(ptr + counter) == … | |
Re: [QUOTE=Ancient Dragon;280873]Before you jump into windows programming with both feet, you should read [URL="http://www.winprog.org/tutorial/"]this intoductory tutorial[/URL].[/QUOTE] As well as [url=http://www.daniweb.com/techtalkforums/announcement8-3.html]this[/url] ;) and [url=http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies]this[/url], the [I]Keep It Organized[/I] section at least. | |
Re: Put [I]cout[/I] statements at the beginning of [I]rek()[/I] and after the statement that calls [I]rek()[/I] again. Print out all the values you're interested in ([I]i[/I] and [I]s[/I]) and watch what prints out. Then you can see what is happening. [code=cpp] s+= rek (i/10)+i%10; [/code] Each time you arrive at this … | |
Re: [QUOTE=joeprogrammer;282187]I'm with Mr. ~s.o.s~ on this one.[/QUOTE] Interesting. That's at least 3 that think your analysis does not help new programmers. What is it [I]you[/I] understand that seasoned professionals (at least one of which has experience as a teacher) are missing? Especially being new yourself? | |
Re: [QUOTE=Mr.UNOwen;282667]Does anyone know what is the best function to use if you want to read user input and not have the return key carry over? Everytime I write something that reads in two things, the second read in always ends up being '\n' because the return key carries over to … | |
Re: For a while there, I thought this was going to go the way of the bunsen burner when a statement is twisted to illogical extremes [quote=NedFrankly;271767][quote=~s.o.s~;263269]Yeah thats the main problem with these MS guys, they just do whatever makes them $$$$.[/quote] 1. Hmmm. So you're in this for the love … | |
Re: [i]true[/i] has not been defined. Define it. | |
Re: Since only you know how the encryption works, we can only guess. And my guess is: If your encryption changes a valid character to 0x1A, you get EOF in your file. To solve this, change your encrypted file to a binary file instead of text and that should solve your … | |
Re: [QUOTE=joelw;281760]so far i have written this but some how i think im doing it wrong if anyone could help thanks in advance. [code]cin.getline(players.name[SIZE]; [/code][/QUOTE] [code]cin.getline(players.name[index];[/code] would work better ;) |
The End.