programming-amp-designRelated issues-Collection of common programming errors
fizz
programming-amp-design
I just cant figure out what the throw does in an exception handling sequence in c++.In the code below, I tried changing the throw statement to throw b and throw invalid “….while throw b worked, the other one didntI dont think its even supposed to work for throw b coz the exceptional case involves my variable a, not b.#include<iostream>#include<conio.h>using namespace std;class trial{int a, b, r, *adress;float c,d, s;public:void add(int, int);void add(float, float);void accept(
bud1658
programming-amp-design
var numArray = [1,2,3,4,5,6];for (var count = 1; count <= numArray.length; count = count + 1){document.write(numArray[count] + ); }What will be displayed when the program is run?A1 2 3 4 5 6Bundefined2 3 4 5C2 3 4 5 6 undefinedDDisplays nothing
Maya Shenofi
programming-amp-design
int=2;while(count<5){//do somethingcount=count+1;}i need an explenetion for the code please to find out how to come up the answer ?thank you
mags
programming-amp-design
I wrote a javascript program and saved it as .js…but i cant run this file..error is” window is undefined..microsoft jscript runtime error” do i need any software 4 running javascript programs that i write?
MaRiA
programming-amp-design
I kept get this error: “Notice: Use of undefined constant E_STRICT – assumed E_STRICT in c:\program files\easyphp1-8\www\htdocs\lib\base.php on line 4”
T
programming-amp-design
I am trying to enable Soap for PHP 5.3 on ubuntu with no success. I have php-soap installed, but when I do$obj = new SoapClient(“wsdlFile.wsdl”);i get an error saying Fatal error: Call to undefined function SoapClient();
Ao
programming-amp-design
When I upload the website to webs.com or tripod.com it says the images are undefined, and even though Ive uploaded them they dont show up on the website! I really need to figure this problem out tonight, project is due. 🙁
Narok
programming-amp-design
#include”graphics.h”#include”conio.h”void main(){int gd=DETECT,gm;initgraph(&gd, &gm, “c:/tc/bgi “);circle(330,180,100);getch();closegraph();restorecrtmode();} i have tried the above but it gives 4 errors- “undefined symbol resotregraph”,”undefined intigrapgh”….what do i do????
ramani
programming-amp-design
i get the following error while compiling the c++ program “unable to open include file stdio,undefined symbol printf”. i using win7 idownload turboc++ bur i cannot save the program with c++ extension whether c or c++ i get error while compiling.my path is c:\tc\bin.pls help me how did i overcome this problem.
g5erg4g443
programming-amp-design
[Linker error] undefined reference to `__cpu_features_init i decided to switch to Dev C++ for small projects (because visual C++ SUXXORS)but every time i compile i get this error…
Web site is in building