2,867 Posted Topics

Member Avatar for maher123
Re: c++

PLZZZ show some effort. [url]http://www.daniweb.com/techtalkforums/announcement8-2.html[/url]

Member Avatar for John A
0
51
Member Avatar for kpack08

Only one thing you lack: effort (or at least show it.) [URL]http://www.daniweb.com/techtalkforums/announcement8-2.html[/URL] I'd start by drawing out your tasks that you need to complete. Make a visual representation of the seats on the plane, and write and test sections of the program at a time. It helps, believe me.

Member Avatar for ~s.o.s~
0
165
Member Avatar for FireSBurnsmuP

This explains your problem pretty well:[url]http://www.mozilla.com/en-US/firefox/releases/fix-extensions.html[/url] Specifically, how many extensions did you have installed before Firefox started acting up? Those instructions might not work as they were written for Firefox 0.8, but try mucking around in ~/.mozilla/firefox/extensions/ or something similar. If there's nothing really important, delete (or move) the extensions …

Member Avatar for jay.smith
0
162
Member Avatar for minyme

Hello, Actually, they're called "Distributions", or the slang term for it is "Distro". The subject of which one to use is discussed many times in this forum, so I suggest you check out the following threads for some advice: [LIST] [*][url]http://www.daniweb.com/techtalkforums/thread58325.html[/url] [*][url]http://www.daniweb.com/techtalkforums/thread55262.html[/url] [*][url]http://www.daniweb.com/techtalkforums/thread50830.html[/url] [/LIST] Hope this helps

Member Avatar for jay.smith
0
156
Member Avatar for Dani

[quote=Elfshadow;347573]I use to do C++ and switched to C and I like it.The main big difference besides no OPP is the input and output . Here is a site that helped me [URL]http://computer.howstuffworks.com/c.htm[/URL] It helped me learn lots of stuff like pointers pretty well. BTW which OS is it?Linux,FreeBSD???[/quote] Yay, …

Member Avatar for Elfshadow
0
571
Member Avatar for MadsenAim3r

>Is this book made for a previous version of C++? Yup. >Anyone know of this problem? iostream.h is deprecated, replace the #include line with this: [code=cplusplus] #include <iostream> using namespace std;[/code] Best to get a more current book.

Member Avatar for MadsenAim3r
0
275
Member Avatar for ntredame

You need to create an instance of [inlinecode]fullName[/inlinecode] inside your 'student' class. You're trying to call the functions, but there's nowhere for the data to go.

Member Avatar for ntredame
0
124
Member Avatar for mepnoob2005

The technology's been around for a while, it just isn't that reliable. I wouldn't start using it on a regular basis, although for emergency or testing purposes it's great. In a few years more bugs will have been weeded out, and I suspect it will have a reliablility similar to …

Member Avatar for TheNNS
0
523
Member Avatar for Tauren

> How would you get it to display the text? By using your graphic API's text function.

Member Avatar for John A
0
80
Member Avatar for jbennet

>Listen Debian people if you are reading - 1cd! - Not over 10! Since people who are downloading Linux probably have broadband internet anyway, it's probably not much of a stretch to choose the Debian NetInstall CD, which usually saves you downloading, because you are only forced to download the …

Member Avatar for John A
0
188
Member Avatar for Tauren

So you think you're too important for just one thread? [URL]http://www.daniweb.com/techtalkforums/thread75630.html[/URL]

Member Avatar for John A
0
87
Member Avatar for Mruthula
Member Avatar for soultron

>I'm trying to port some code written in MS Visual C++ 8.0 (the version is copyright 1998, I know that for sure.) Are you so sure about that? Perhaps you meant version 6.0. That has a copyright of 1999 (at least the version that I had). >these days, #include<cstdlib> is …

Member Avatar for soultron
0
152
Member Avatar for iamyoyo

Arrrgh, It burns! Learn how to use [URL="http://www.daniweb.com/techtalkforums/announcement8-3.html"]CODE TAGS[/URL]

Member Avatar for John A
0
143
Member Avatar for Askren

Perhaps you need to [URL="http://docs.info.apple.com/article.html?artnum=2238"]zap your PRAM[/URL]. Failing that, I'd say you've got some state of hard disk corruption, and you should probably reinstall Mac OS X.

Member Avatar for gagibbs
0
245
Member Avatar for squinx22

> what does subversion mean? Basically a way of keeping track of different revisions of a program in the open source world. Here's the official website: [url]http://subversion.tigris.org/[/url] And here's some extra info from Wikipedia: [url]http://en.wikipedia.org/wiki/Subversion_(software[/url])

Member Avatar for squinx22
0
100
Member Avatar for maverick786

Nice try on the code tags, try using the preview button first before submitting them (it's [code], not <code>). [code=cplusplus] int current; current = rear; do{ current = (current + 1) % maxQue; std::cout << items[current] << std::endl; }while(current != front);[/code] First you tell the compiler to start at the …

Member Avatar for John A
0
200
Member Avatar for treble

>Payroll companyPayroll(); Remove the parentheses. At the moment, you're telling the compiler that this is a function (it's supposed to be a variable).

Member Avatar for treble
0
97
Member Avatar for C++freak

>Can any body help me out and let me know where I am going wrong. Well, what's wrong with it? And you're quite lucky that someone as nice as ~s.o.s~ reformatted your code; I don't even know how you managed to paste that unreadable mess in the first place...??

Member Avatar for John A
-1
106
Member Avatar for John A

Hello all, This is a relatively simple problem I ran into when designing my site, so hopefully you can help me out here. I have a div like so (for example): [code=html]<div class="box">testing</div>[/code] And here's the CSS: [code=css].box { margin-left: auto; margin-right: auto; width: 50px; color: red; background-color: blue; }[/code] …

Member Avatar for John A
0
174
Member Avatar for TheNNS
Member Avatar for jbennet
0
269
Member Avatar for Paladine

>redhat 7.2? Thats ancient... So is the thread date. If the person who just posted before you on this thread had bothered to look at the date, they might have thought twice about bumping a 4 year-old thread...

Member Avatar for jbennet
0
223
Member Avatar for maverick786

You have a parameter in [inlinecode]Novice::Pop[/inlinecode] that you fail to use within the function, and fail to pass to it in your main() function.

Member Avatar for John A
0
105
Member Avatar for Tales

>I still wonder why nobody helps me... ? Probably because this is not a Windows programming forum. True, this is the correct subforum to post questions like these at DaniWeb, however you may be better off in a forum more dedicated to Win32 development. (I myself have done very little …

Member Avatar for John A
0
208
Member Avatar for jan1024188

Or perhaps Vista doesn't adequetly support your video card. I've heard of many driver problems with Vista, which of course is normal when switching to a new operating system. I doubt that this is the case for you though, as NVidia has had plenty of time to port their drivers …

Member Avatar for jan1024188
0
274
Member Avatar for FoX_

>Does the **a mean that first * points the row and second * points the column??? Almost. The first * points to a row, however the second * points to an individual "cell" if you will, of a row. It points to the integer. >malloc function returns an adress and …

Member Avatar for FoX_
0
130
Member Avatar for carolraydon

And the Canadians get a strange mix of both American and British words/pronounciations... :sad:

Member Avatar for hbk619
0
388
Member Avatar for sk8ndestroy14

>What do you mean when you say custom title? Well, yours says "Junior Poster in Training", mine says "Posting Maven". It's all dependant on post count for regular members. Moderators and sponsors have the ability to change that to something custom.

Member Avatar for ~s.o.s~
0
108
Member Avatar for raj157

>i have come up with the following code but gives error Maybe, just [I]maybe[/I] you might want to tell us what those errors are :icon_rolleyes:

Member Avatar for raj157
0
121
Member Avatar for revenge2

>There is no standard value that main() must return other than it must be an integer. Returning 0 from a program will always ensure that the correct value is sent back to the operating system to indicate success (the standard says so).

Member Avatar for jbennet
0
165
Member Avatar for rapperhuj

> MR.DANI :lol: As for your code, why in the world are you mixing C and C++? If you're going to use C++, make sure you use ifstream for your file input.

Member Avatar for Sturm
0
81
Member Avatar for TheNNS
Re: 500

>That's just based on looking at my own though, so the data set is quite limited. Yep. The rep titles are also interesting (when you hover your cursor over someone's rep): >50 = "Distinguished road" >100 = "Will become famous soon enough" >150 = "Has a spectacular aura about" >250 …

Member Avatar for jbennet
0
228
Member Avatar for The Dude

500-550 wpm, yet I don't read a ton of books... maybe DaniWeb [I]is[/I] having a positive effect on my reading level.

Member Avatar for Mike555
0
68
Member Avatar for sirkraven

>[COLOR=#555555]Is there any reason why I can’t define 2 NEW different classes in different .h files in the same project? No. The only reason for not doing this is organization, if you have classes in their own separate source and header files, the code, and thus the project, tends to …

Member Avatar for John A
0
105
Member Avatar for Ivor Placca
Member Avatar for John A
0
27
Member Avatar for Debadipta

More information please... What version of DirectX are you using? Have you tried installing the latest SDK from Microsoft? What compiler are you using? What version? What are the names of the libraries and header files that you're giving the compiler/linker?

Member Avatar for John A
0
48
Member Avatar for tajkera

>can anyone please help me to solve my program We'll "help" you solve your program, but we definitely won't solve it for you. [url]http://www.daniweb.com/techtalkforums/announcement8-2.html[/url]

Member Avatar for Salem
-1
70
Member Avatar for J_M44053

>I had checked the CD on the menu for the OS and it said I have 369 checksum errors. What should I do? The disk's probably scratched or damaged. Try installing from a different Ubuntu CD (one that works).

Member Avatar for TheNNS
0
130
Member Avatar for squinx22

Hmm... didn't read my advice in your [URL="http://www.daniweb.com/techtalkforums/thread75081.html"]previous thread[/URL] regarding this issue? The actual source files are fed to g++: [code]g++ main.cpp imp.cpp -o main.exe[/code] [edit] and yeah, having the same return type helps...

Member Avatar for John A
0
194
Member Avatar for CRD
Member Avatar for kemboy

> *num=get4ints();[COLOR=#0000ff] [/COLOR]Your program doesn't make any sense. You're trying to use C++ allocation (new) in a C program, trying to force an entire array into a single integer, and overall getting pointers and the actual memory mixed up. Perhaps you should review your pointer knowledge here... [URL]http://www.cprogramming.com/tutorial/c/lesson6.html[/URL]

Member Avatar for WaltP
-1
281
Member Avatar for Dani

I noticed it nearly immediately when I logged onto DaniWeb. The change is a good one, and helps even when you have the timezone set correctly. In the past, I always had to look at the current time to figure out how long ago a particular entry was posted. This …

Member Avatar for John A
0
725
Member Avatar for youngone

> "term does not evaluate to a function" error on the line: Perhaps that's because you've given a variable identical names to a function? And you should consider using function prototypes, and giving arguments to the function when you call it (it does take 2 of them, remember). [edit] Just …

Member Avatar for John A
0
200
Member Avatar for >shadow<
Member Avatar for John A
0
132
Member Avatar for Annaliese

>Especially the ones that had powerful desktop CPUs in them (e.g. Pentium 4s instead of Pentium Ms). A have a friend who (used to) have an AMD64 processor in his laptop. It had a 17" screen, battery life for around 1 hour, wicked fun... :twisted: But going back to the …

Member Avatar for christina>you
0
86
Member Avatar for The Dude

[quote=Walt]I was always good in math, and was surprised to learn that in my computing life math was rarely needed beyond the basics. When we needed higher math we were generally given the equation which had to be translated into code, but that wasn't too hard. Pretty straight forward most …

Member Avatar for J_M44053
0
407
Member Avatar for example303

[quote=maricopa;343803][COLOR=#0000ff]Hi guys, I'm a newbie in c/c++. I started with a very basic code. I added # include <iostream> and I'm getting 105 errors for the following code. Could you please suggest how to fix this? The first error reads: Error 1 error C2146: syntax error : missing ';' before …

Member Avatar for John A
0
89
Member Avatar for squinx22

>To include your own header file, your need to build a project or makefile. Most compilers don't require that header files are specified in makefiles/command arguments, since #include specifies where the file can be found. More importantly, ensure that your source (.cpp) files are all added to your project/makefile, and …

Member Avatar for John A
0
169
Member Avatar for tgreer

I too liked the feature of being able to see how popular a blog entry is. The clean design looks nice, however now the only easy way to keep track of comments is to subscribe to entries, which fills up my inbox. (and I'm too lazy to navigate to the …

Member Avatar for tgreer
0
124
Member Avatar for sk8ndestroy14

>Is there some type of cord I could buy that could connect from the printer to the router on the other end with an >ethernet connection? Not really, you need some sort of server if you want the printer available on your network. The printers that have ethernet ports actually …

Member Avatar for sk8ndestroy14
0
92

The End.