2,966 Topics
![]() | |
I am new to Linux, and C++. Usually when I used Java, I could just use javac Something.java and run it using java Something. How do I compile my own c++ code without the help of an IDE? Also I am using Linux Ubuntu 12.04 | |
im using this code to send strings to serial port but this is very slow,the other end of communciation arduino board is not able to get those strings at realtime,how can i fasten this communication? there is no problem in arduino board or arduino code,it works fine for its sample … | |
[CODE]I'm currently redesigning my website in Dreamweaver CS5. My site was previously made in iWeb, which centered the page automatically in any browser at any resolution. When I preview my site in Safari using Dreamweaver, the whole page seems aligned left. Another issue (which I should probably also post in … | |
This is really hard coding for uploading one images yes its working. but now i need to upload multiple images for code below: the link of that page is: http://dalilack.com/marketProductUpdate.php?packageId=15 you need to sign in: username: Molham password: Molham with capital <?php require_once('Connections/dalilack.php'); ?> <?php //initialize the session if (!isset($_SESSION)) … | |
Hi, I am trying to make simple gui which switches jpanel inside jframe but my IDE says "Cannot make static reference to non static method setPage(int) from the type Main". Why is that? There is no static modifier on actionPerformed or at setPage or actually anywhere else than public static … | |
Dear All, I want to create a dynamic website with a database. Visual studio 2010, dreamweaver CS5, sql server management studio and all other requirements are installed (like IIS 7). I set the IIS server configuration in dreamweaver cs5. I check simple ASP codes like <%Response.Write ("The time on the … | |
I want to consume a WCF service with DataContracts from my Android app, and I'm using Eclipse as my IDE. In .NET when I add a service reference I automatically get metadata and automatically-generated code for calling that service. Is there a way to do so in Java/Android/Eclipse? I wouldn't … | |
I have a motherboard K7AMA2 with Socker 462, my problem is, when i plugged the cable to the power supply, my computer start automatically, the cpu fan also running but nothing can view in screen, there's also no beeps. I tried to pulled out all IDE cables power, and jumper … | |
Hey guys, so I was wondering if something is wrong with my PCI Express Card. I did the CPU-Z scan or whatever, and it says I have a PCI Express Card, but it also says the Link Width is x0 and the Max. Supported is x0. Is there something wrong … | |
Hi, I just experienced this issue after upgrading Xcode to 4.3.3, and thought the fix might be useful to others. The original fix is posted [here](https://devforums.apple.com/thread/141685) and modified [here](http://stackoverflow.com/questions/9325804/xcode-4-3-organizer-crash). Create the file readcert.m with the following code: #import <Security/Security.h> #import <Foundation/Foundation.h> void checkCerts () { OSStatus status; const void *keys[] … | |
Hey. So here is my code... config.php <?php $localhost = "localhost"; $dbuser = "root"; $dbpass = ""; $dbname = "test2"; $connect = mysql_connect($localhost, $dbuser, $dbpass); mysql_select_db("$dbname", $connect); ?> regprocess.php <?php include"config.php"; $username = $_POST['username']; $email = $_POST['email']; $password = md5($_POST['password']); $insert = 'INSERT into users(username, email, password) VALUE("'.$username.'","'.$email.'","'.$password.'")'; mysql_query($insert); ?> … | |
Novice working with C#. Opened a project file to commence lessons with the Head First C# programming eBook. When reopened errors were found. Images are uploaded to a microsoft skydrive folder: https://skydrive.live.com/redir?resid=52B21D2F3F75A51A!1427 Hoping that someone experienced can stay with me until I can grasp each error and know precisely where … | |
I'm having trouble opening a file using fopen in C++. I'm using XCode 4. Here's my code: FILE *f; f = fopen("test.txt", "r"); if (f == NULL) std::cout << "Error: NULL file"; When I run this, the error message gets printed. test.txt is stored in the same directory as my … | |
Ok this is a very weird problem and I am using computers since I was 3 and today I m 20, this is so anoying that i finally had to post my first forum post asking for help related to computer hardwares. Nuff braggin. Anyways, Here's My spec : Windows … | |
I have a marshalled data packet from the ActiveMQ connection. When I deceive the message my unmarshalling method should unmarshall the message to ite appropriate class object. I have the follwing message in the console of the Eclipse Indego. Exception in thread "ActiveMQ Session Task-87" java.lang.IllegalAccessError: com/sun/xml/bind/v2/runtime/reflect/opt/Const at weathergenerated.IMaritimeWeatherStationInformation$JaxbAccessorF_visibilityDistance.set(FieldAccessor_Integer.java:59) at … | |
Hello! I am new to Python, and I want to learn it. I have just installed Python 2.7.3 And Visual Python Tkinter IDE for Ver 2.6-2.7-3.1 (BETA) –Version: 2.0.12.2524. I was looking into some the Tutorial and follow the first example to code. Here begun my issues. First Step: I … | |
I have been looking over current frameworks available and I am looking to settle on CodeIgnitor. What framework and IDE do you use? What are the plus sides, limitations of your choice? | |
Continuing with the Head First C# programming eBook. This is a windows form application. Followed the text: <i>__ Chapter 2 The IDE is great at writing visual code for you. But don’t take our word for it. Open up Visual Studio, create a new Windows Forms Application project, and see … | |
I've been having a problem where all programs would stop responding - even Windows Explorer. When this happens, I can still switch between processes, but when I try to do anything in the new process, it stops responding also. This continues for up to 5-10 minutes after which it either … | |
What we have done was : Specifying valid FTP remote server name, a username and a password if password required in their relevant textboxes on the form then we click on connect, we notice that the TreeView control is filled with main directories while ListBox control is filled with main … | |
I have been using XNA recently and discoverd a major difficulty: when designing levels you have to spen ages pre planning exactly where sprites/objects will go. To solve This problem I had an idea for a game engine/level editor that just imports sprites, creates variables for the sprites and has … | |
I am making a simple GUI program in java. In this program I have made a simple jFrame where there is two separate textField, one for user input number(data type: double) and another for square of the input number as answer. What I want is: * The event action to … | |
I was wondering if it is possible to export a project in eclipse as a jar file but that doesnt include the .java source code files. For example, say i wanted to distribute my program to others but didnt want them to be able to alter my .java source codes. … | |
I was following [this tutorial](http://www.swiftless.com/tutorials/opengl4/1-opengl-window.html) for my first attempt at OpenGL. All I'm doing is initializing an empty window. His VS 2010 code is [here](http://www.swiftless.com/?download=1%20-%20OpenGL3%20-%20Window). Using Dev-C++ as my IDE on Windows 7, and MS SDK 7.1, I get this error: [Linker error] undefined reference to `_imp____wglewCreateContextAttribsARB' ld returned 1 … | |
I've recently found that 1and1, my host, doesn't allow for remote access to MySQL databases and tables, and access is only possible via a slow and cumbersome web UI. Is there any workaround? I don't want to have to spend ten minutes browsing PHPMyAdmin every time I need to timestamp … | |
Working with Visual Studio 2008 and accessing SQL Server Compact 2010. Following a programming book and have created a small contacts database. The next lesson requires that the database be dragged onto a form already created. Have not found success in getting the form and the database on to the … | |
Hello all :) I am still a beginner at ASP.NET and VB.NET so I could use all the guidance I can get. So thanks in advance :) I am building a web application using Visual Web Developer as the IDE and Microsoft Access as the database. The application allows users … | |
I have problems with adding images to JFrame java application. Now I am using Eclipse IDE. Below is the code that no images is shown. import java.awt.BorderLayout; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JFrame; public class LabelDemo { public static void main(String[] args) { JLabel northLabel = new JLabel("North"); ImageIcon labelIcon … | |
I am using Notepad++ and I have just been investigating using the Workspace. If I want to create a new file in the workspace I either have to manually locate the actual working folder and create the new file -- or I can use the Notepad++ Explorer to create the … | |
I cannot edit or add a path to a referece file. I have inherited a project at work. Whern I open the project and go to the references scetion in the Visual Studio 2012 IDE there are some little yellow warning signs showing that there is something amiss with the … | |
hey guys, got a job at a small IT company, i work with network, asterisk platform and developping tools for admins, operators and clients. i'm having a blast programming and the updates-patches are at nights, perfect for my vampiric personnality but ... i still consider myself a jr. man! there … | |
I want to start developing an IDE or at least a Syntax highlighter into my program. Atm it's a simple text editor with basic copy paste functions. How does Notepad++ do it? Is there a way I can integrate that into my own program? If not then I'll write it … | |
Can anyone help me with how to work on Eclipse C++ IDE? I need a clear set of instructions on how to connect server and database as well as how to compile and run standalone codes? | |
Hi, I am trying to create document using iText. I am using Eclipse IDE. I've imported the jar files (itextpdf-5.2.1.jar and itext-xtra-5.2.1.jar). However RtfWriter2 is not being recognised as a class. Document doc = new Document(); RtfWriter2 writer = new RtfWriter2(); RtfWriter2.getInstance(doc,new FileOutputStream("testRTFdocument.rtf")); Can someone help me in figuring out … | |
Hi, This is the line: Class ourClass = new Class.forName("com.app.something"); And this is the the error: cannot find symbol class forName My IDE is Intellij Idea. This is a particular case, but i want to know what causes this type of error, what should i look for. | |
I would like to know how to compile the jBullet demos, found here: http://jbullet.advel.cz/download/jbullet-20101010.zip in the eclipse IDE. It seems like it should be a fairly easy but i may be missing some small simple task. If you do know the answer, please be fairly direct and detailed. Thanks! | |
http://www.daniweb.com/software-development/cpp/threads/332761/ide-linux Something strange is going on here. When I click [IDE \& Lunix | DaniWeb](http://www.daniweb.com/search/query/%2Anix+distributions/0?q=site%3A%2A%2F+%2Anix+distributions) from the google link all I see are empty posts -- posts that have no text. But when I go to that same thread directly within DaniWeb everything is ok. Same problem with all the … | |
If i have a jar file on a server, and i have a program that needs to use the file as a dependency on the server also. How could i patch up the code to build without the dependecy before i deploy it. I know it can use the dependency … | |
This is probably a really simple and stupid question, but when I try to "Build and Run" an OpenGL program on XCode, it seems to debug it and open the window for a split second and then close. There aren't any compilation errors and it finishes saying that the debugging … | |
Hello everybody, here I am again to ask for your help. I got my daddy's notebook to restore. It is often freezing. I would attempt to reinstall windows but I discovered cd rom do not work and so I have no idea about how to do that (no usb boot). … | |
well i have two questions: 1-hey i was wondering is there a library or namespace in c# for creating databases? like anydbm with python?or anyway to do it? 2-witch faster? getting data from huge database or getting it from like a huge database devided to multi database i mean witch … | |
**IDE: **MS Visual Studio 2008 Professional **Compiler:** Unknown First off let me thank any of you who take the time to read this and reply back. I'm having a ridiculous amount of trouble returning a pointer from a function and then using that returned pointer to change the pointer-pointer in … | |
Kinda desperate right now. I've searched a dozen forums and whatever solutions I find there have not worked for me. Right now I'm getting 100% cpu usage and is kinda making my computer drag, and in some cases shut down. At first I started noticing this problem when playing Left … | |
Hello I am learning templates and at the moment I have created a templated QuickSort function. It's rather short and self explanatory. However during the call to the QuickSort Driver function I get a No matching call error. I have detailed the error message in full at the bottom of … | |
![]() | I am using Code::Blocks as my IDE and I am creating a text based game (Not very complex as I am just starting out with c++). As I proceed through this project I have found it more orderly to have multiple cpp files within a folder that relate(like two cpp … ![]() |
This basic client server program compiles fine in eclipse IDE but I keep getting a zero back from server!!! I'm new to all this client server stuff by the way. package echo3; import java.io.*; import java.net.*; class Client { public static void main(String argv[]) throws Exception { int outgoingdata = … | |
Hello I have written a MVC2 : DAO program using an Apache derby embedded DB. Currently I have not been able to jar the program : runs in IDE. My question concerns running this program on multiple work stations of a local network. Will this be possible? Currently when I … | |
![]() | My code is this atm: #include <stdlib.h> #include <stdio.h> int main(int argc, char *argv[]){ int a,b,c; int swap; printf("Enter 3 Numbers (# # #):"); scanf("%d %d %d", &a,&b,&c); //does all its computing, to see which one is biggest. return EXIT_SUCCESS; } The result when i run it in eclipse is … |
Does anyone know how to resolve this other than a complete reboot? I'm restarting both my work desktop and personal laptop on an almost daily basis, which is irritating, to put it politely: **Couldn't register com.your.App with the bootstrap server. Error: unknown error code. This generally means that another instance … | |
the simple thing i want to achieve is to be able to browse a file on my system an then use a servlet to finally store the file as a byte stream to my DB2 database. Initially i started by using coding the servlet part as a java application by … |
The End.