132,726 Archived Topics
Remove Filter ![]() | |
hi all, i would like to know the all possible command line options of GGCOV tool in Linux... ex:1. ggcov program name 2.ggcov -o dir if anyone of you know this,plz give me the details... Thanks in advance..... RajasekharReddy.B Software Development c++ | |
hello. my problem is, after login username and password in one form, then a new form will be appear. how to create coding to insert username in a label at new form after login. i have tried this coding but still not appear. please help me. thanks..... Public Sub loadInfo() … Software Development visual-basic | |
I am writing this program to use user defined functions, must be return value functions as well. It is a modification to a program already written, and am having a couple errors that I just cannot figure out. Here is the code, the errors I am getting when I compile … Software Development c++ | |
I am currently trying to delete lines of a file in java? Software Development java | |
I've recently wrote some code to update an inventory table within a database. The program works great; the problem is that many machines access this database at any given time, and I'm concerned that at one point my program will not be able to update the table because of too … Software Development visual-basic | |
Hi all, I want to read a stream of bites/bytes as a String. Here's what I have done up to now. Using a buffer I found that number of bytes, which include a text message from a binary file. Now what I want is to read those bytes stream as … Software Development c++ file-stream | |
I have this kernel with the shell, and I'm trying to put the time and date commands in it but can't seem to make it work. It shows no error while compiling but it doesn't do anything when I test it. Can anyone tell me what I'm doing wrong here? … Software Development assembly | |
I know this is probably an unbelievably simple error somewhere, but I can't see it. I keep getting "undefined reference to Machine::Machine()" and all of Machine's other functions. main.cpp [code] #include "machine.h" using namespace std; int main(int argc, char** argv) { Machine* m = new Machine(); m->reset(); m->run(); delete m; … Software Development c++ | |
Hey. any help wud be greatly appreciated. I have just tranferred into the second year of a multimedia course in which they have been doing python programmes. Problem is i have never programmed anything before and have been asked to complete this assignment.:( i dont even know what it is … Software Development multimedia python | |
Hi all, I want to write some text(simply a string of characters) to the edit control on a click event. How can I do that. I know it is able to write something to the control using member function, [CODE]GetDlgItemText()[/CODE] by passing two arguments, control ID and string variable. Is … Software Development c++ | |
I'm trying to give python a list of numbers like this (5 6 7) and I want it to square each number (or as many numbers as I input). I'm trying out a list comprehension on this. I'm not sure where I'm going wrong. Any help would be great. [code="Python"] … Software Development python | |
ok so heres the thing, ive got to to do this program for college but the lecturer is a numpty and wont help anyone. so im stuck. ive only got so far into the program and cant get the most important bit to work where it is supposed to. its … | |
Hi, this is my first post here. And I am new to python. I have script which supposed to read in a series of files in the format "myfile.*.obj" where "*" is a sequential no. (001,002...) but when I run the script, it seems that it have difficulty recognizing the … Software Development python | |
New to the site, just need some help on this... Most of it is done, I just need to turn the wordInfo struct into a full-blown .h class. Any thoughts? It's attached... Appreciate it! | |
hey ive been working on a txt game... btw im using python 2.3. i am trying to have a requirement for each 'room' or function, i want it so the user has to pick up an object into their inventory before they can go on to the next room. here … Software Development python | |
Another project on arrays. I need to get the smallest number in an array. Enclosed is code. Your input highly needed! [code] #include<iostream> using namespace std; int smallestnumberindex(const int number[int index]) int main() { int number[10]; int index; int smallestnumber; //initialize the array for (index = 0; index < 10; … Software Development c++ | |
I need to read a text file that contains data of the following type: [code] John Doe 333222333 01/01/80 M PHY301 2005 Fall A PHY401 2005 Fall B PHY531 2006 Spring A John Doe 333222333 01/01/80 M PHY501 2005 Fall A PHY301 2005 Fall B PHY431 2006 Spring A John … Software Development c++ | |
The assignment ask for a looping statement and should print out a table of values for example N 10*n 100*n 1000*n 1 10 100 1000 2 2 200 2000 my code just prints the N 10*n 100*n 1000*n I am a noob at this but really trying! Can anyone help … Software Development java | |
[code]#include <iostream> // for CableBills #include <iomanip> // for formatting manipulators #include <string> // for string variables #include <fstream> // for file streams using namespace std; // Prototype Functions void PrintHeading(ofstream& CableBills) ; // Inout void CustomerData(ofstream& CableBills, ifstream& CableRecs) ; // Inout int OutletCharge(int) ; int ServiceCharge(char) ; // … Software Development c++ | |
Hey, i am a complete newbie to C++ and have a task to do. i have looked all though my textbook and all over the net and have not found any examples similar. my problem is i am trying to read from a text file and store the data as … Software Development c++ | |
Hello, I am trying to write data to a binary file. The function runs (the cout << "TEST" shows me that my loop is running the correct amount of times), but after the program comes to the end, it crashes and doesn't save the data to the binary file. Can … | |
[code=cplusplus] /*-------------------------------------------------------------------------- This is dllist.h file for defination of funcations -------------------------------------------------------------------------*/ #ifndef DLL #define DLL class DLLElement { public: DLLElement( void *itemPtr, int sortKey ); // initialize a list element DLLElement *next; // next element on list // NULL if this is the last DLLElement *prev; // previous element on … Software Development c++ | |
Hi guys!!! i really need your help, i have an assignment due very soon. Its a java application and java applet, it should display the cpu ver, cpu speed, ram size and hard disk size of the lacal machine. PLZ help guyz | |
ok so i made a code that makes something compatible with a never version ( it is not important). This is my code: [CODE]#include <iostream> #include <fstream> #include <string> using namespace std; int main () { char File[150], re[4]; string line[5000]; string response; int counter=0; size_t found; string strtofind[]={"oolean1", "oolean2", … Software Development c++ file-stream | |
a c program to convert lower case text to upper case using strlen (). a c prog to arrange names in alphabetical orderusing strcpy (). a c prog to check wether given number is prime or not. to find length of sring without using library function. to check wether etered … Software Development c | |
I get error C2143: syntax error : missing ';' before '*'[/code] at the typedef line (and every other line with the word 'string'). ... //File: prob4.h #pragma once //header files + efficiency #include <string> #include <iostream> using std::cin ; using std::cout ; using std::endl ; typedef string * strPtr ; … Software Development c++ | |
Hi guys, our goal is to try to create a c++ rendition of the same game. I have coded all the way up to the first real part of the program, trying to remove cells based off of what the user inputs. [code] #include <iostream> #include <cstdlib> #include <ctime> using … Software Development c++ | |
This is what the code looks like. It's a simple program to determine which years are leap years, and which aren't. I'm having trouble ending the program if the user types ctrl-z. Any help would be appreciated. I know it's probably something simple, but I can't figure it out. :( … Software Development c++ | |
Hi, I am writing a code that requires me to search for words within a text document. I had to build up words one character at a time in order to ignore punctuation when I search for the words. I did this without a problem. But now I am working … Software Development c++ | |
This is a thread containing a problem similar to my previous thread"a crazy problem(at least to me)". Yet i start it in a new thread is because the approach will surely be much more complicated and perhaps should be treated as another crazy problem. This program should read in 2 … Software Development c++ | |
Hey guys i need help over in my program. My error is that when i use cin for a int declaration, when i type in a char, they straight away have a infinite loop. I try using the cin.clear() but when i prompt the user to "enter a number again" … Software Development c++ | |
I think that the only function that needs fixing is my ComputeHourlyPay function. Could somebody take a look and help me out here. [CODE=cplusplus] //Name: Nick Auffarth //Class: CS 140 Section 003 //Assignment: p03 //Date: October 15, 2007 #include <iostream> #include <iomanip> #include <cmath> #include <string> using namespace std; const … Software Development c++ | |
i plotted a parabola....when i try to join the previous pixel with the next pixel,it does not come out to be straight???cant we draw a smooth curve....joing pixels???if no then why??? Software Development c++ | |
well i'm a bit of a beginner programmer.. i've taken a few classes but every time i look at a piece of code i get lost easily. But i do have a question.. I was reading this visual basic book and there was this thing about listing all of these … Software Development c++ visual-basic | |
I want to make a program that will check to see if a process is running. And if it is not running, the program should start it back up. Basically i made a new process. This is what is executed when the button is clicked. [CODE]System.Diagnostics.Process proc = new System.Diagnostics.Process(); … Software Development ![]() | |
I need to write a C library routines to allow user to process images to get different effects like inverting colors and scrolling vertically and horizontally. for inverting colors, we need to write a function- for scrolling vertically and horizontally, we need to write a procedure- and call these function … Software Development c | |
I'm still confused with file i/o here and needs a bit of help on fixing the codes I have. Can anyone offer some help? I have two codes here that sort of work together. One is a database type of code that is supposed to get input form the user … Software Development c c++ file-system | |
I want to do a binary tree code that outputs an actual tree, but I'm a little lost right now and don't know what to do. I did this code in Dev C++ Here's the code so far: [code]#include<stdio.h> #include<stdlib.h> #include<string.h> #include<strings.h> #define TRUE 1 #define FALSE 0 int size; … Software Development c | |
So, I've ordered two separate books for studying C#, and am sending them both back. One was Murach's C# 2005 and the other is Illustrated C# 2005 by Daniel Solis. Neither of them were written the way I like to learn; I prefer a textbook style of learning with exercises … | |
hi, i am new to .net development, i want a simple login webform code behind page using a simple sql table only featuirng user id, name and password with validation. can any one help me out. please.............. Software Development asp.net | |
I don't know why I'm spacing out tonight, because I've been doing fine, but I'm stuck on one thing. I've already written the first part of my program (get integer input from the user, then calculate the product, and display), but the second part (not required, but I thought I'd … Software Development java java-swing | |
I am using an Access Database through Visual Basic 6. Is there any other way to access the database excluding the following code. Set CNN = New ADODB.Connection str = "\\SYS8\DATAX\EMP.MDB" CNN.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + str + ";Persist Security Info=False" CNN.CursorLocation = adUseClient Software Development microsoft-access open-source visual-basic | |
Please Check my code!!! This is a Calendar Wizard in TASM. a program that when a user enter his birthday, the output must be his corresponding Zodiac sign and his horoscope. But i dont know where to compare the inputted month and date and what label i am going to … | |
Hey fellow programmers. I am just starting to work on C++ and languages in computer programming. So far its not bad yet, but having an issue with this program I am trying to write. The program I am writing is to compute the sum of the minutes exercised per week, … Software Development c++ | |
I have a assignment from school that I'm having trouble with. I need the program to beable to do... Can someone help me with what I'm doing wrong? * Input an order ( NumberOfPizzas and NumberOfCokes) * Compute the OrderAmount = (NumberOfPizzas * decPIZZAPRICE + NumberOfCokes * decCOKEPRICE) * Compute … | |
Hi I am creating an MDI application that asks the user for a User ID and Password to be able to show personal details once verified. Details of user ids and passwords are available in a MS Access Table1. There is another table2 for user details, and another one yet … Software Development vb.net | |
When you move the mouse cursor over hyperlink in some browser the cursor is changed and when you remove it from the hyperlink the cursor is changed to default cursor.Is it possible to have the same functionality in .Net?I'm talking about RichTextBox specifically.I mean if i move the cursor over … Software Development | |
Hi I'm trying to display all the numbers that are more than 15 but are less than 50 in a nested for loop and I'm not quite sure how to go about it, (I picked up C# 2 weeks ago) HELP! Here's my code Software Development | |
ok so here is goes heres the question Write a JAVA program that takes a one-line sentence as input and then outputs the following response: If the sentence ends with a question mark β?β and the input contains an even number of characters, then output the word βYesβ. If the … Software Development java |
The End.