Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~10.7K People Reached
Favorite Tags
Member Avatar for oggiemc

Can someone please tell me how to send data from my program to excel. I have a loop which is iteratively printing values to the console: [code=c]printf("16 Bit:\n\n"); for (n=0;n<numberOfValues;n++){ printf("%.4x\n",rand16()); }[/code] but i need to send them to excel for analysis!! Please help

Member Avatar for Mohd Iszamir
0
5K
Member Avatar for oggiemc

Hello all, Im getting the following error when i try to create a simple helloWorld C++ project in eclipse. Please note that i have MinGW, msys and my environment variables set up right. Im using Windows 7 and the 32bit Eclipse Juno. Error: Error 127 occurred while running autoreconf HelloWorld …

Member Avatar for Lucaci Andrew
0
485
Member Avatar for oggiemc

Im writing a piece of code which allows the user to search by HTML element on a page..The user selects what element they want to search for, and then the code traverses each element highlighting them one by one..The code works fine if the user searches for one element from …

0
64
Member Avatar for oggiemc

Hello all..Im trying to integrate CKEditor into my drupal site..The problem is i cant seem to get the form plugin on the toolbar..Can someone tell me how to enable it? I thought it would be enabled by default? Thanks

0
57
Member Avatar for oggiemc

Hello All, Assume i have the following code: [code] // This code is defined in one file : editor.addMenuItem = function( name, definition ) { if ( groupsOrder[ definition.group ] ) menuItems[ name ] = new CKEDITOR.menuItem( this, name, definition ); }; // This code is defined in another file: …

Member Avatar for Airshow
0
134
Member Avatar for oggiemc

Hello all, Can someone explain the attached code please..And in particular, how the program execution flows between the different scope blocks.. Thanks [code] <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Recursion</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript"> //<![CDATA[ function runRecursion() { var addNumbers = function sumNumbers(numArray,indexVal,resultArray) { // recursion test if (indexVal …

Member Avatar for Troy III
0
121
Member Avatar for oggiemc

Hi all, Im getting the folllowing error for the attached applet code when i try to view it through windows explorer: java.security.AccessControlException: access denied (java.util.PropertyPermission java.class.path read) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPropertyAccess(Unknown Source) at java.lang.System.getProperty(Unknown Source) at AppletTest.init(AppletTest.java:26) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) …

0
51
Member Avatar for oggiemc

Hi all, Im getting the following error when i try running the attached applet: java.security.AccessControlException: access denied (java.net.SocketPermission localhost:8080 connect,resolve) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkConnect(Unknown Source) at sun.plugin2.applet.Applet2SecurityManager.checkConnect(Unknown Source) at sun.net.[url]www.http.HttpClient.openServer(Unknown[/url] Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.[url]www.http.HttpClient.New(Unknown[/url] Source) at sun.net.[url]www.http.HttpClient.New(Unknown[/url] Source) at sun.net.[url]www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown[/url] Source) …

Member Avatar for seanbp
0
251
Member Avatar for oggiemc

Hi guys, For some reason, when i click on the Java forum i get logged out but when i click back on say C++ it says im logged back in..But when i try to start a thread on the C++ forum it asks me to log in?!?!When i try to …

Member Avatar for Dani
0
160
Member Avatar for oggiemc

Hi all, Im trying to run a simple applet which prints a message to the screen..The applet runs fine on applet viewer but when i try to view it in the URL bar i get the following error: load: class Test.TestApplet.class not found. java.lang.ClassNotFoundException: Test.TestApplet.class at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown …

Member Avatar for Akill10
0
85
Member Avatar for oggiemc

Hi all, Im building a java application in eclipse and i want to add an excel file for data storage/retrieval..Can someone tell me how i include the file in the class build path? Thanks

0
58
Member Avatar for oggiemc

Hi, Im getting the followin error in one project class in my application: The project was not built since its build path is incomplete. Cannot find the class file for DataControl. Fix the build path then try building this project DataControl is a class in another project in the same …

Member Avatar for apines
0
217
Member Avatar for oggiemc

Im trying to run an RMI app from eclipse but im getting an error saying it has already been started by another application. I ran an application yesterday from the command line but i closed all windows down when finished..is there a special command to shut down the registry on …

Member Avatar for joehms22
0
63
Member Avatar for oggiemc

Hi, The following code works fine: [code=c] // main.cpp #include "Dog.h" void details(Dog x){ cout << x.height << endl;} int main() { int h,w; vector<Dog> vect; cout << "Please enter 3 dogs measurements: "<< endl; for(int i=0; i<3; i++){ cout <<"\nInput height:" <<endl ; cin>> h; cout <<"Input weight:" <<endl …

Member Avatar for oggiemc
0
139
Member Avatar for oggiemc

Say i want a friend function to have access to two classes which are derived from the same base..I declare the friend function prototye in both classes, but where do i code the actual definition?? is the code below right?? (mixBreed() is the friend function).. [code=c] // Dog.h #include "Animal.h" …

Member Avatar for mike_2000_17
0
156
Member Avatar for oggiemc

Hi, Im trying to write some code which adds the combined height and weight of two dogs, returns the result and then displays it..The problem is, the result returned is wrong (i think the operation is just adding two memory addresses)..The =operator code is returning rubbish as well, i think …

Member Avatar for nbaztec
0
137
Member Avatar for oggiemc

Hi, Suppose i have an animal base class and cat derived class..I create animal.cpp, animal.h, cat.cpp, and cat.h files...Assuming i have included Animal.h in my Cat files, what files do i have to include in the main.cpp file? is it just: 1) #include "Animal.h" or do i also include: 2) …

Member Avatar for oggiemc
0
90
Member Avatar for oggiemc

Hi guys, Just wondering how i would access a particular variable from an object in an array?? Consider the code: [code=c]void Animal::arrayDisplay(){ Animal ani; Animal* arry[3]; string n,c; int a; for(int i = 0; i<3; ++i){ cout <<"Input name:" <<endl ; cin>> n; cout <<"Input color:" <<endl ; cin>> c; …

Member Avatar for gerard4143
0
152
Member Avatar for oggiemc

Hi, Im getin the following error when i try the code below..Anyone tell me whats wrong?? (name is defined in animal class).. 52 C:\Dev-Cpp\oopAssign1.cpp no match for 'operator>>' in 'std::cin >> name' [code=c++] void Animal::arrayDisplay(){ string name[3]; cout <<"Input 3 names:" << endl; for(int i=0; i<3; ++i){ cin >> name; …

Member Avatar for oggiemc
0
110
Member Avatar for oggiemc

Hi, Ive been given an assignment in college to implement a dog class and to include functionality such as eating,sleeping,barking etc..im not really familiar with writing code to describe living things so just wondering could anyone give me a few suggestions as to how to go about doing this? I …

Member Avatar for oggiemc
0
118
Member Avatar for oggiemc

Hi, Can someone explain to me what is going on in the code below as im new to pointers and not quite sure what is going on..In particular, an explanation of the first couple of iterations in the for loops would be helpfull.. Thanks [code=c] #include<iostream> 5 using namespace std; …

Member Avatar for gerard4143
0
75
Member Avatar for oggiemc

ive tried enabling telnet on windows 7 by doing the following: 1.Open control panel. 2.Then go into programs. 3.Then in programs and features there should be a part that says ‘turn windows features on or off ‘ . 4.Click ‘turn windows features on or off ‘ then on the list …

Member Avatar for drew fullen
0
792
Member Avatar for oggiemc

Hi people, I want to have an if statement in my servlet that if no results are found from database i print out an error to a html page. Im not to sure how to do this though..See my attempt in code below, can someone tell me what im doing …

Member Avatar for javaAddict
0
100
Member Avatar for oggiemc

Hi everyone, i want to output the results of the select statement in the code below, to a html table as opposed to just a list of out.println statemants..Can someone tell me how to go about doing this please?? Thanks oggiemc [code=java] import java.io.*; import java.lang.*; import java.sql.*; public void …

Member Avatar for oggiemc
0
101
Member Avatar for oggiemc

Hi people, Im trying to handle an exception in my servlet by res.sendRedirect to another page..but it is not redirecting to the page i want, instead its going to a HTTP Staus 500 error page detailing the full stack trace..can someone tell me what might be wrong here, ive attached …

0
50
Member Avatar for oggiemc

Hi everyone, Ive been asked to do an assignment to test the randomness of a linear congruential generator..We've been given the code implemented in c..the problem is i dont really see how this code relates to the theoretical LCG equation i.e X[n+1] = (aX[n] + c) mod m..So i would …

Member Avatar for invisal
2
1K
Member Avatar for oggiemc

Hello people, Im getting an "Exception occured ---java.lang.NullPointerException" error when i try running the code below: [code=Java]public void Register(String Username, String Password, String Surname, String Firstname, String Email, String Phone) { String a = Username; String b = Password; String c = Surname; String d = Firstname; String k = …

Member Avatar for oggiemc
0
235
Member Avatar for oggiemc

Hi Everybody, Im having a bit of a problem with an assignment..Im trying to write a JDBC servlet which checks the value of a name in the database against the value inputed in a form..USER and PASS are the values inputted to the by user into the form.. The code …

Member Avatar for oggiemc
0
80
Member Avatar for oggiemc

Can someone please tell me what im doing wrong in this program..im gettin a compiler error saying: C:\Dev-Cpp\projects\proto.cpp In function `int main(int, char**)': 46 C:\Dev-Cpp\projects\proto.cpp a function-definition is not allowed here before '{' token 46 C:\Dev-Cpp\projects\proto.cpp expected `,' or `;' before '{' token C:\Dev-Cpp\projects\Makefile.win [Build Error] [proto.o] Error 1 The …

Member Avatar for oggiemc
0
122