132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for raja.geek

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++
Member Avatar for Salem
0
64
Member Avatar for aynn

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
Member Avatar for jbennet
0
133
Member Avatar for Koldsoul

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++
Member Avatar for Ancient Dragon
0
97
Member Avatar for qinise4

I am currently trying to delete lines of a file in java?

Software Development java
Member Avatar for masijade
0
112
Member Avatar for RJ83

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
Member Avatar for Lavendor
0
85
Member Avatar for eranga262154

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
Member Avatar for Ancient Dragon
0
242
Member Avatar for gallantmon1

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
Member Avatar for Evenbit
0
209
Member Avatar for andrax

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++
Member Avatar for Salem
0
106
Member Avatar for mjsinpl

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
Member Avatar for paddy3118
0
80
Member Avatar for eranga262154

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++
Member Avatar for eranga262154
0
180
Member Avatar for MakingMoney

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
Member Avatar for jrcagle
0
331
Member Avatar for muddpigeon

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 …

Software Development os-x python
Member Avatar for jrcagle
0
532
Member Avatar for renochew

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
Member Avatar for jrcagle
0
123
Member Avatar for bluejay_1111

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!

Software Development c c# c++
Member Avatar for bluejay_1111
0
186
Member Avatar for remmoc

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
Member Avatar for Ene Uran
0
74
Member Avatar for jaepi

Hello there, do you have any idea where to get a good reference for the function fseek64? Or does anyone of you here knows this function or is there really a fseek64 function? lol. Thanks!

Software Development c
Member Avatar for jaepi
0
1K
Member Avatar for Linda1

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++
Member Avatar for Linda1
0
80
Member Avatar for Ratte

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++
Member Avatar for vijayan121
0
130
Member Avatar for mCardos

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
Member Avatar for mCardos
0
71
Member Avatar for 4greatjustice

[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++
Member Avatar for 4greatjustice
0
186
Member Avatar for slyrexy

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++
Member Avatar for slyrexy
0
85
Member Avatar for teppuus

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 …

Software Development c++ ios
Member Avatar for teppuus
0
91
Member Avatar for jamess_jack24

[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++
Member Avatar for jamess_jack24
0
129
Member Avatar for nhlagumbi

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

Software Development display java
Member Avatar for nhlagumbi
0
445
Member Avatar for Llama

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
Member Avatar for Llama
0
241
Member Avatar for abhi07

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
Member Avatar for ChaseVoid
0
267
Member Avatar for Duki

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++
Member Avatar for Duki
0
910
Member Avatar for pacman326@gmail

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++
Member Avatar for pacman326@gmail
0
59
Member Avatar for Underdog67

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++
Member Avatar for Underdog67
0
821
Member Avatar for sarahger9

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++
Member Avatar for sarahger9
0
123
Member Avatar for Fool

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++
Member Avatar for Fool
0
119
Member Avatar for wjyeo

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++
Member Avatar for wjyeo
0
247
Member Avatar for NicAuf

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++
Member Avatar for NicAuf
0
122
Member Avatar for akame

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++
Member Avatar for Salem
0
132
Member Avatar for Church

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
Member Avatar for Church
0
109
Member Avatar for SiPexTBC

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
Member Avatar for iamthwee
0
120
Member Avatar for rylix01

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
Member Avatar for rylix01
0
127
Member Avatar for gallantmon1

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
Member Avatar for gallantmon1
0
249
Member Avatar for gallantmon1

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
Member Avatar for Narue
0
149
Member Avatar for Duki

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 …

Software Development c c# c++
Member Avatar for Samson_ZXL
0
70
Member Avatar for maiharish

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
Member Avatar for Samson_ZXL
0
152
Member Avatar for newbieGirl

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
Member Avatar for newbieGirl
0
134
Member Avatar for dilip_singh3

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

Member Avatar for plusplus
0
1K
Member Avatar for dhiane_1112

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 …

Software Development assembly finance
Member Avatar for dhiane_1112
0
1K
Member Avatar for Koldsoul

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++
Member Avatar for Koldsoul
0
270
Member Avatar for nitewolfgtr

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 …

Software Development asp.net vb.net
Member Avatar for manal
0
442
Member Avatar for SerapH

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
Member Avatar for manal
0
172
Member Avatar for cygnusX

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
Member Avatar for Ramy Mahrous
0
78
Member Avatar for poogles

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
Member Avatar for Ramy Mahrous
0
84
Member Avatar for everywherewego

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
Member Avatar for peter_budo
0
73

The End.