132,726 Archived Topics
Remove Filter ![]() | |
hello there! im creating a program with both stdio.h and iostream.h in the include header. Can the program run with them both? or others? Software Development c++ | |
import java.io.*; import java.util.StringTokenizer; public class Proj21110 { private static int MAX_UNKNOWNS = 10; public static void main (String[] args) { headerMessage(); // print header BufferedReader in = null; if(args.length > 0) { in = getReader(args[0]); // open file System.out.println("Opened file: " + args[0]); } else { in = getReader("guess.data"); … Software Development java | |
I already know C and I have to learn Java. Can anybody recommend an ebook I can read? Software Development java | |
[font=VERDANA, ARIAL, HELVETICA, SANS-SERIF][size=1]How do you make a class accessible from a dynamic link library? It is a commonly asked question with a solution that is surprisingly simple. In this article I will show you how to do it in Visual C++. [/size][/font] [font=VERDANA, ARIAL, HELVETICA, SANS-SERIF][size=1]First, you need to … Software Development c++ open-source | |
hello everyone, i have a script in which i enter a log file into an array and then i go line by line to search for a line containing "free disk space". once the line is found i want to check if the value is greater than 75. the line … Software Development perl | |
Hi I want to read a two huge integer input from user & wanted to display output on the screen can any one help me ? eg : int a=8132123781237; int b=1237829789; result = a *b ; print(result); ???? ![]() | |
Hi all, whaz up poeple i have a little problem! if anybody could help me, i would be grateful i have made an application in borland c++ about credit cards there are 2 fields, and between them are 2 buttons (import and status) when i press the import button, i … Software Development c++ ![]() | |
I'm not quite sure what is wrong, and I am VERY new to programming but heres teh problem: Scanner scanner; scanner = new Scanner(); This is what I have, and this is the error message: cannot find symbol symbol: constructor Scanner() location: class.java.util.Scanner And also, there is a problem with … Software Development java | |
Hello, I am new in the world of snmp++. Recently I have downloaded the latest version of snmp++ for Linux and tried to compile the sample (specifically Qt example). While I try to "make" the sample, at one stage it shows the following message and exit the make utility: /usr/bin/ld: … | |
I say urgent because I have to finish it pretty much tonight or maybe very early tomorrow morning. But I am moving along decently on the project, so it's not like nothing is getting done. Basically I have a problem with a class I am in the process of completing, … Software Development java | |
Hi all, I want to have a MDI application with OpenGL enabled on child forms. additionally each form can have controls than OpenGL. I have tried Nehe's lessons but all of them have used an infinite loop to call glDraw function which can not be done in MDI application as … Software Development opengl | |
Hi Folks Iam trying to insert values into my access table using c# and iam at my wits end My Access table has the following fields Country State Curr VAT and Exchange I have made them all as text for ease of use in the access database this is my … Software Development c# microsoft-access open-source | |
I have a couple of easy questions, but I'm not that good at C++ yet, so I need your assistance... I'm using an array to store for: 1) Test grades 2) Project grades 3) Lab grades I want it to print out like this: Test Scores: 92 73 81 My … Software Development c++ | |
Hey there! I was wondering if someone here could help me out a bit. I'm a beginner in Java and I'm struggling a bit with understanding if it is me who is doing something wrong or if something is just missing from my software to run the thing I'm trying … Software Development java java-swing mac-software | |
My output looks like this "T h i s m y o u t p u t" and I want it to look like this "This is my output". Any suggestions? I guess what Im asking is how do you take words from a file and put it into an … Software Development c++ file-system | |
Howdy folks, Does anyone know if GCC is capable of creating a fixed length 1D array of an N-Dimensional array for reasons of speed? I've heard it matters quite a lot if one works constantly with N-Dimensional (with N != 1) compared to 1D arrays in terms of speed, but … Software Development c | |
I've been trying to find a complete list of the c/c++ libraries and all of their functions, but everywhere I look, I only find a part, never the whole thing. Is there a website where I can find such detailed list? | |
Ok, I'm taking a intro to programming with java class, and for the most part I've been able to keep up with the assignments. I'm in the process of writing a statement that will output the cube root of a number, I've come up with the below as what I … Software Development java | |
I'm trying to display a large amount of data in a grid (~26,000 cells) under C#/VS2005. I'm looking for a fast display vehicle. I had been using SourceGrid. However, the basic grid was too slow. I switched to SourceGrid/ArrayGrid which is fast. However, I can't figure out how to write … Software Development | |
Hi can anyone helpme out in writing a batch file to delete archived log files. The batch file should delete the files in those folders that meet the criteria(files older than 3 months)and if all the files in the folder are deleted then the folder itself should be deleted. Software Development shell-scripting | |
HI... would anyone give me some ideas in converting decimal to binary...?...i have some ideas but its hard for me to implement it...i just came up with the wrong code...i'm using a86 assembly language... . Software Development assembly | |
i need help in comparing a string... the program goes ... ask to input 2 string then compare it, if it is same or not... my problem is that even it is not equal it will print equal... i think the problem is in the compare section. could someone share … Software Development assembly | |
Hello! First of all, sorry if my english sucks, it's not my first language >_< I want some help of you guys. I got a vector of dates named ListDate[i], and I want to do a search on it, to find the last days the user defines, for example: The … Software Development c++ | |
I need to make a program to check if the entered number is palindrome or not i.e. if u take a number and reverse it it will be the same old number for example if u take 121..then if u reverse the number it will be 121 and so 121 … Software Development c++ | |
Hello everyone, I have a html file (that is displayed in a webbrowser) which contains an onclick function that calls an external function in c# code. I have this part working and after the external function is finished the webbrowser navigates to a new file. The html file contains frames … Software Development c# file-system html-css | |
I have a class named SString, which is a user defined c style string class. The constructor for SString dynamically allocates a char array. Then I have a CD class which contains data about a specific CD, like artist, title, year, etc. They are defined as SString instances. I want … Software Development c++ | |
This is a stripped down version of an error I'm getting in a different program, but this is simpler. The problem comes from if I try to set something that isn't an int in MyClass [code=c++]#include <iostream> using namespace std; template <typename T> class MyClass { private: T data; public: … Software Development c++ | |
I am trying to develop a code that will take a number similar to 8.23 or any number with a decimal and convert it to a whole number like 8. I would like to do this in an if/then statement but i dont know which process to call it from. Software Development c++ | |
I think I have a convertingproblem when using stringstream. I multiply 0.995 * 19.99 wich is: 19.89005 The first messageBox do show because 19.89 < 19.89005. Then I convert Total to string and back to double again and do the same check if: 19.89 < NewNumber But here the MessageBox … Software Development c++ | |
Hey there, I'm trying to use the SetSuspendState() function to hibernate the computer, but I have no idea what parameters I should send to it. The prototype is "BOOLEAN WINAPI SetSuspendState(BOOLEAN, BOOLEAN, BOOLEAN);" Since I'm a somewhat beginner in c++ programming, I don't really have an idea what BOOLEAN means … Software Development c++ | |
hello, guys i have a really stupid problem about characters and string; i dont know which to use. wacko.gif iam bubble sorting for example a name::'( :?: input: [B]dreamincode[/B] output: [B]a c d d e e i m n o[/B] why does my code in error? my compiler saids the … Software Development java | |
This may sound silly. I have a class that contains a vector of pointers to instantiated objects. I want to return a refrence to that vector, but I don't want to be able to modify the vector through that refrence. Now, if i return a const reference, the vector is … Software Development c++ | |
Hi, I have an aaplication which can play the .wav file. However, I want to get the timing of each word spoken by the person. For example, when the person speak the first word, the time will being recorded in the text area and also the word spoken. the process … Software Development java | |
I've been struggling with this program for few several days now.. It's an implementation of Data structures. I'm trying to use Linked Lists, Sorting and Searching concepts. [CODE=cplusplus]#include<iostream> #include <iomanip> #include <fstream> #include <cstdlib> using namespace std; class videoShopSystem{ public: bool empty() const; void displayMainMenu(); void menuChoice(int key); void addNewRecord(); … Software Development c++ linked-list video | |
So I am using Dev C++ to compile this program; however, whenever I attempt to compile, I recieve a linker error that states, "[Linker error] undefined reference to '_cpu_features_init' ld returned 1 exit status" I googled the question, and people suggested that it may have something to do with the … Software Development c++ | |
Hi Im new to VB. I am looking to write a basic code to do the following: when a button is clicked, a valve has to close, after 5 seconds it has to open. This should be done 5 time, for every click. Please help! Thanks... Software Development visual-basic | |
Hi friends.... I am using SS Tab in my form. There are 4 tabs in total. The user needs to enter a text provided on tab1 and then go to tab2. If the user clicks on tab2 without entering text in the textbox, a message box should be shown to … Software Development visual-basic | |
Hello, my understanding is 'this' is a pointer to the current class you are working in. Is this right? For example in my textbook it has [code] class ThreeD { int x,y,z; public: ThreeD() {x=y=z=0;} ThreeD(int i, int j, int k) {x=i; this ->y =j; z=k;} ThreeD operator+(ThreeD op2); ThreeD … Software Development c++ | |
Excuse me, could someone help me? This code from an ebook and it isn’t wrong but it gives an error while being compiled. I don’t understand what error it is. error C2653: 'vector<int,class std::allocator<int> >' : is not a class or namespace name [code] #include<vector> using std::vector; int main() { … Software Development c++ | |
Hello, I am trying to get back into programming I took it way back in high school and I am to say the least I am a little rusty. I can’t find the type of program that I want so I thought that I would make it and it has … Software Development visual-basic | |
Hi, i've a problem about load and parse a large array block on my dictionary-like app. My app will load mytext.db to its array. App users entered specific text to txtIn, press cmdSearch and get the translated ones. The main issue is scanning speed, load array speed and match input … Software Development algorithm visual-basic | |
Hello, I am trying to solve an assignment in a book. It is asking me to write a program that takes a positive number with fractional part, which would round it to two decimal places. For example, 3.4256 to 3.43. Now, the thing that confuses me is that this past … Software Development c++ | |
Hi friends, I am unable to declaring variable which can used from any form in a particular project. Software Development visual-basic | |
![]() | OK I was wondering what is the easiest way to do this? Let's say I have some arguments int main(int argc, char* argv[]) and argv[1] equals a c-style string. I want to change this to a std::string because I want to do stuff with it and I prefer working with … Software Development c++ |
Some numbers like 1,2,3,4,.... are provided from the command line. Considering them to be roots of a polynomial of that degree< equal to number of roots > , i was trying to find the coefficients of the constructed polynomial, i was using the concept of multiplication of two single degree … Software Development c | |
Hi friends, in my vb project , hindi font doesn't set . i download the mangal font from internet and paste it in a c:windows/font folder........but it resemble like a unknown symbol... any help will be appreciated .... waititng for ur reply Software Development visual-basic | |
Hello, I have to base64 encode a large quantity of data and include it in the XML response of the webservice.The WSDL define the XML element in the following way: [CODE]<xs:complexType name="MessagePart"> <xs:simpleContent> <xs:extension base="xs:base64Binary"> <xs:attribute name="contentType" type="xs:string" default="text/plain" use="optional"/> <xs:attribute name="length" type="xs:int" default="0" use="optional"/> <xs:attribute name="offset" type="xs:int" default="0" use="optional"/> … |
The End.