Jump to content
xisto Community

xboxrulz1405241485

Members
  • Content Count

    3,012
  • Joined

  • Last visited

Posts posted by xboxrulz1405241485


  1. Hey guys I've got some errors. My friend told me it's missing the body of my function. However, my body is obviously there when you look at this post:

    pointofsales.h:

    #define LIMIT 100void posmath (int *quantity, double *price, char taxable);void initPOS();
    stdheader.h:
    #include <iostream>#include <cstdio>#include <cstdlib>#include <cmath>using namespace std;
    pointofsales.cpp:
    #include "stdheader.h"#include "pointofsales.h"void initPOS(){	cout << "Point of Sales" << endl;	cout << "==============\n" << endl;	int quantity[LIMIT], intCount = 0;	double price[LIMIT];	char taxable[LIMIT];	do {		cout << "Quantity: ";		cin >> quantity[intCount];		if (quantity[intCount] == 0){			intCount--;			break;		}		cout << "Price: ";		cin >> price[intCount];		cout << "Taxable [y/n]: ";		cin >> taxable[intCount];		intCount++;	} while (intCount <= LIMIT);	posmath(quantity, price, *taxable);}
    libpos.cpp (not finished):
    #include "stdheader.h"#include "pointofsales.h"void posmath (int *quantity, double *price, char *taxable){	int i, tqty = 0;	double tprice = 0, sprice = 0, ptax[LIMIT], ftax[LIMIT];	for (i = 0; i <= LIMIT; i++){		tqty += quantity[i];		if (*taxable == 'y'){			ftax[i] = price[i] * 0.05;			ptax[i] = price [i] * 0.08;		}		price[i] = price[i] + ftax[i] + ptax[i];	}}

    Build Error:

    1>------ Build started: Project: Workshop2, Configuration: Debug x64 ------1>Linking...
    1>pointofsales.obj : error LNK2019: unresolved external symbol "void __cdecl posmath(int *,double *,char)" (?posmath@@YAXPEAHPEAND@Z) referenced in function "void __cdecl initPOS(void)" (?initPOS@@YAXXZ)
    1>D:\devel\c++\Workshop2\x64\Debug\Workshop2.exe : fatal error LNK1120: 1 unresolved externals
    1>Build log was saved at "file://d:\devel\c++\Workshop2\Workshop2\x64\Debug\BuildLog.htm"
    1>Workshop2 - 2 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


    This is a console application, I tried both compiling it to x86 and x86_64.

    Please help?

    Thanks,
    xboxrulz

  2. I have it running in virtualbox too. It works, as long as virtualbox is stable. The kaspery anti virus software is horrible, don't try it because it'll keep crashing and booting in safe mode to disable kaspery in virtualbox is very, very, very ... slow.
    The idea for the new task bar is good, but it might have been a bit smaller, especialy because it makes the usefull height on a 16:10 screen even smaller.

    I like it, it's worth trying it :mellow:


    AVG works perfectly.

    xboxrulz

  3. My C: disk is currently taking my own physical disk.This is not optimal, because I love having a small system disk and a big data disk ; in case of a huge system crash, this would allow me to recover from my last ghost image.
    Now vista allows me to shrink the c: volume.
    Unfortunately, vista allowed me to shrink only by 40 gigs. Then it allows me 0, due to cache and snapshots activated.
    How can I manage shrinking my C: disk down to 50 gigs ? This would mean remove 200 gigs ?
    Please tell me. :mellow:
    Yordan


    I think buying another hard drive might be better since you can even account for what if the system disc dies, then you'll lose data anyways. Plus, large capacity hard drives don't cost that much anymore be it internal or external.

    xboxrulz

  4. Well, here at Xisto, it's a no-brainer that most of us are in the know-how of electronic equipment or just professional in the electronics, computers or design field (for all you artists out there).However, one debate is surprisingly never debated in these forums... Now we can!Cast your vote who you think is better and what you use. Also, remember to post to back your reasons!I vote POWER/PowerPC because they have been traditionally the processor architecture for high performance chips like BlueGene/L and is the basis for the Cell processor. However, since there are no longer any PowerPC processors in the desktop market (screw you Apple for going Intel). Most machines in my house uses AMD because they are the ones who can balance performance, price and low heat output. We are in the process of phasing out Intel because they don't meet our price/performance/heat ratio.xboxrulz


  5. The best way to see what's best is to test this :mellow: . The problem is to find a good benchmark that take the cpu and the memory in account (most synthetic test only stress on of the two). Futurmark PCMark Vantage is probably the best test.

     

    Btw. have you tried increase the memory latencies to get higher memory frequencies at 2.8GHz ?

     

     

    //edit: ps. http://forums.xisto.com/no_longer_exists/

    uhh... how do I put on more latency? Wouldn't that nullify the point of overclocking which is to make the machine to go faster?

     

    btw, the link is dead.

     

    Thanks,

    xboxrulz


  6. I think I can say pointers are easy (but dangerous if used improperly) shortcuts that points to the data directly instead of having you constantly passing things around which may get complicated when you forget what goes where. However, not using pointers for beginners in the programming world can be a good thing since they wouldn't overwrite a memory allocated for another software. (Unless DEP is in effect).xboxrulz


  7. Hey guys,I've got a quirky overclocking conundrum. Which is better (both option suck but I must make either).I have 4 sticks of DDR2-800 (all Kingston RAM). My processor is an AMD Athlon 64 X2 4200+. Current voltage locked at 1.25V.In order to achieve 2.8 GHz, I must run the RAM at 312 MHz or else the machine fails to POST. It also makes the HT speed at 1020 MHz.However, in order to achieve close to full DDR2-800, I can only clock the system at 2.69 GHz (HT at 980 MHz) or else it fails to POST.So, the question is, which is the lesser evil?Thanks,xboxrulzP.S: On full load and idle, my temperature sits at 44-48C.


  8. I agree, switching to Linux (and UNIX in general) does make learning computers a lot easier and more in-depth and I'm not anal about the GNU part since I can slap on BSD utilities onto my installation if I want to so I just keep it as Linux as it is because Linux is just essentially a kernel (also on the sheer laziness of just not adding 4 more characters when I type).xboxrulz


  9. Hey guys,I recently built a new media centre and I bought a wireless card because I'm not dragging another 30ft cable across my house. So, I bought the Belkin Wireless G Desktop Card for $20. It was a good deal. However, it'signal pickup isn't the best. My router is just the next room over but Windows Vista tells me it's only a Good signal (at 3/5). Would getting a new antenna to replace the stock one would make the signal be clearer or I'm stuck at this lower range?xboxrulz

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.