199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bops

This is not a question about C/C++ as such, but I couldn't think of where else to put it. I would like to know how to call either gcc or g++ and specifying that all error messages that are to occur when compiling some source code are to be written …

Member Avatar for swagatata
0
4K
Member Avatar for pepyrs

Hello guys, I found a lot examples about this one but I still don't have it all working. So the thing is that I have a button in my C# web application called Export to Excel. The functionality should works as if the button is clicked - it just simply …

Member Avatar for pepyrs
0
162
Member Avatar for karthi_selva

Hi, i am new to pthread area. i like to pass the dynamic argument into the thread function. example [CODE]function(void *value) { printf("%s",(char *)value); }[/CODE] here i like to pass dynamic argument when thread is running. so is it possible in pthread? please share your ideas...

Member Avatar for gerard4143
0
127
Member Avatar for daddiedan

Hi I have a database of one table with headings as shown DONOR COURSE TITLE START DATE END DATE MIN/DEPT ANNOUNCED TO DATE RECEIVED BY HRD DONOR DEADLINE DATE FORWARDED NOMINEES BENEFICIARIES-MALE BENEFICIARIES-FEMALE NUMBER ACCEPTED REASONS FOR NON-ACCEPTANCE DATE OF ENTRY NATIONAL COUNTY The table is in access. I would …

Member Avatar for hkdani
0
100
Member Avatar for Alkis90

Is it possible to open programmaticaly vlc and send to it one subtitle file (programmatically too)? For example I want to run vlc(I know how to do that) and then programmatically press video-->subtitles track-->open file... If it's not possible with c# is it possible with any other language?

Member Avatar for Alkis90
0
168
Member Avatar for Jfunch

The problem I am trying to solve is Write a program using fork() to compute average of N numbers. The parent process forks a child process that takes input from the user, adds all the numbers and returns the sum and the count of numbers to the parent process that …

Member Avatar for JamesCherrill
0
2K
Member Avatar for saideepak89

hi i have the table in which date valve is like this [COLOR="Red"]11/11/2009 6:08:29 AM[/COLOR] how can i compare the value or select them , the to_date is working in SELECT but,i want to select the records using this colmn and by giving value ie:[CODE]SELECT * FROM SENTMAIL WHERE SENTMAIL_SENT_DATE='01-OCT-2011'[/CODE] …

Member Avatar for debasisdas
0
96
Member Avatar for IWDesigns

hi everyone... i have a page running html and javascript... basically its a faq page, viewers click on a question heading and then the related questions appear below (done using the js hide command) i had the problem where everytime i clicked a heading the page went back to the …

Member Avatar for IWDesigns
0
100
Member Avatar for bonzo2008

Hello in a case there I wan't to change letter in an index from 0- 28 to just 0 - 26 it's commandbuttons, and the 3 letters should be dissaabled, the code is in swedish just now, but I will change that in language settings to english letters. and how …

Member Avatar for hkdani
0
159
Member Avatar for tomtetlaw

How can I check if my program was launched from the command line or from windows explorer?

Member Avatar for tomtetlaw
0
151
Member Avatar for Seba Sama

Hello! I need to import some data from a .csv file, process it and write results in an Excel file. So... I use ADODB recordsets and Microsoft Text Driver: [CODE] Dim rs As New ADODB.Recordset Dim cn As New ADODB.Connection Dim cnStr As String cnStr = "Driver={Microsoft Text Driver (*.txt; …

Member Avatar for ChrisPadgham
0
174
Member Avatar for infantheartlyje

Here is my code . Switch statement doesn't working in this. why? [CODE] int callprocess(FILE *File) { int Rec = 0; // record number char tcode[3]; //char buffer[30]; struct timeval b,e; long int tms,tme; do { printf("\nMenu :Init, Dummy, Add or Quit ( I, U, A or Q) : "); …

Member Avatar for infantheartlyje
0
184
Member Avatar for AdmiralCrunch

As is well known, the Javascript Date object provides a method getTime() to return the number of milliseconds since 1/1/1970. However, I'm seeing a problem when such timestamps are used in calculations with DOM Event timestamps in Firefox. It appears that the DOM Event timeStamp field in Firefox is the …

Member Avatar for stbuchok
0
157
Member Avatar for irffan

HI,I am web development beginner and i have to make an online database project in just 8 to 9 weeks,please recommend me that which tool i should use to make my project that is fast ,reliable and efficient... Following are the tools under my consideration Joomla Dream weaver xamp wamp …

Member Avatar for cwarn23
0
120
Member Avatar for Prakash_8111

Hi Guys, how to call one shell script from another script inside a loop ? any suggestion most welcome. Prakash

Member Avatar for nikita.
0
3K
Member Avatar for baltazar

Hi all, I'm having trouble coming up with the correct XSLT code and was wondering if anyone could point me in the right direction. This is what I need to do... I've got an xml tree with pages like so: [CODE] <page> <title>A<title> <subtitle>I</subtitle> <item>1</item> </page> <page> <title>D<title> <subtitle>V</subtitle> <item>7</item> …

Member Avatar for mrame
0
184
Member Avatar for hindu times

Hi there, I've been given the task of adding a Google recaptcha to a form on this website I'm working on. I'm not really familiar with the code that I've been given to edit, so I was wondering if anyone can help me. Basically, the "contact" page looks like this …

0
132
Member Avatar for jasperuser

Hi all, I am currently working on jasper reporting. Designing reports using iReport Designer. Everything is working fine, but what I want to know is what is the way to use JavaScript in Reports (designing in iReport). For example, if i want to add the below code (clicking the button …

Member Avatar for jasperuser
0
755
Member Avatar for tenshi

hi, i'm new to vb.net.is it possible to link item in drop down list to image? for example if i click "computer" in the drop down list, the image of the computer will appear. sorry if my question sounds silly. i'm really a newbie in vb.thanks for ur help.

Member Avatar for tenshi
0
292
Member Avatar for ronster342000

I am writing a program that reads customer info from a file, then reads transactions from another. I am building my ADTs for this as I cannot use templates for this class yet and have a cpl of issues. The linked list contains the clientID as an int and a …

Member Avatar for MonsieurPointer
0
246
Member Avatar for Se7Olutionyg

I want to readfile and merge them all to the arraytotal array , It works fine for individual file, don't know why, it printed out some weird character for the final Thanks [CODE]#include <stdio.h> #include <string.h> #include <stdio.h> #include <stdlib.h> using namespace std; #include <iostream> void fnSortHeap(char array[], int arr_ubound); …

Member Avatar for MonsieurPointer
0
158
Member Avatar for yup790

I am trying to make a Fibonacci sequence program to display up to the nth term(only positive numbers). For some reason it doesn't seem to work. [CODE]import java.util.Scanner; /** * * @author Toby */ public class Fabonnacci { /** * @param args the command line arguments */ public static void …

Member Avatar for JamesCherrill
0
245
Member Avatar for Aviras

Dear Daniwebbers, I have a problem regarding the calling of methods on a protected parent object from within a child object, the protected parent object being a child object of the same class. I have a class HostileArea, wich has a "protected DungeonRoom[][] dungeon", DungeonRoom being a child of HostileArea. …

Member Avatar for JamesCherrill
0
223
Member Avatar for gedas

hey Guys, im creating a clas that is to be used in a HashMap to map phone numbers to name. for example : map.put( new PhoneNumber(207, 8269600, 260), “Paul”); [CODE] public final class PhoneNumber { private final int areaCode; private final int number; private final int extension; public PhoneNumber(int areaCode, …

Member Avatar for gedas
0
118
Member Avatar for srieja

is it possible to send data from remote object to the server in C# remoting using TCP channel???? Please reply thanking you in advance....................

Member Avatar for devloper
0
368
Member Avatar for kgizo

Hello I just read a document using PHP and I need to skip the first 58 lines of that document and then start sending the data that follows from those lines to my database. How do I go about skipping the first 58 lines of the document. I really need …

Member Avatar for kgizo
0
183
Member Avatar for fatzky_04

Hello all! I don't know what is wrong with my program. I know i'm missing something but still i can't figure it out. #define TRUE 1 #define FALSE 0 int search2Darray(int x) { int i, j; for (i =0; i< 2; i++) for (j=0; j < 10; j++) if (a[i] …

Member Avatar for stereomatching
0
96
Member Avatar for lwisnas

[code] import java.util.*; import java.text.*; public class FactorialApp { public static void main(String[] args) { // create a Scanner object named sc and intializ variables Scanner sc = new Scanner(System.in); // perform Factorial application when user enters "y" or "Y" String choice = "y"; while (choice.equalsIgnoreCase("y")) { //get input from …

Member Avatar for hiddepolen
0
108
Member Avatar for dwiniers

Hello there! anybody can help me how to execute this application? Thanks you very much! Here's the application goes: Write an application that contains four command buttons. The command buttons should be blue and have boldfaced, italicized caption that read change color, change bold, change height, change width. When the …

Member Avatar for dwiniers
0
324
Member Avatar for SCass2010

Hi everyone, I'm trying to write a script that will list all files and their details within a directory - so for example, if I have the structure /home/ /home/folder1/ /home/folder2/ /home/folder3/ It will print something like +---------------------------- | /home/folder1/ +---------------------------- | *files here* | *size* +---------------------------- | /home/folder2 +---------------------------- …

Member Avatar for griswolf
0
120
Member Avatar for Rizwan khans

I am using a gridview in my application,in gridview i am having textbox which i had created by item template,i am new in programming i have no idea how to populate the data to the gridview,the data should be displayed in the gridview and after that the user had to …

Member Avatar for saikumars
0
113
Member Avatar for Se7Olutionyg

I want to open different file names, at first it work well on couple files, but it has to be in order, what if i open random file like fall01, fall05,srping09 etc Thanks [CODE]#include <stdio.h> #include <string.h> #include <stdio.h> #include <stdlib.h> using namespace std; #include <iostream> int main() { FILE …

Member Avatar for D33wakar
0
190
Member Avatar for LMHmedchem

I have an unusual situation where I had a hard drive with some bad sectors and moved the data to a new drive. I did the move with cp -Rfp and >& logfile. I moved the data (~285GB) with about 20 copy commands. The >& should have given me information …

Member Avatar for L7Sqr
0
168
Member Avatar for Tariq12010

Hi Sir, My name is tariq , i am intrnee developer in my company . i have project EPS which i will make using joomla cms mvc so i need help more because i am intrnee please must be help me any one thank you very for this kind of …

Member Avatar for Tariq12010
0
99
Member Avatar for Zssffssz

Ok I'm working with a program that uses addresses and with all of the Interesting charecters (. / \ and spaces) I need tO get a line of characters. I know how to do this with ifstream but how would I do this with plain old cin?

Member Avatar for pseudorandom21
0
104
Member Avatar for dennysimon

hello all In a cells of a datagridview I place a gif image name new.gif . I can show it immediately after the the form load even I try to print this datagridview cell(0,0) value which is an image name new gif: Object imgobj= dataGridView1.Rows[0].Cells[0].Value; but then I do not …

Member Avatar for dennysimon
0
200
Member Avatar for pshirgaonkar

Hi, Im building an web application where im using number of views & stored procedure.. i just want to apply performance tuning techniques for my application. while reviewing the code, i realized that lots of my views are being called in the Code behind file of the UI..i don understand …

Member Avatar for pshirgaonkar
0
127
Member Avatar for fatzky_04

Hi. I didn't declare a,b,c from the first program but i did after the first program. What am i missing? [CODE] #define m 2 #define n 2 void matrixaddition() { int i,j; for (i=0; i<m; i++) for (j=0; j<n; j++) c[i] [j] = a[i] [j] + b[i] [j]; } #include …

Member Avatar for coolbeanbob
0
133
Member Avatar for Wilha

[CODE]import math print "Select unknown variable" print "a, b, or c" print equation=input("> ") if equation == a: b=input("Enter b: ") c=input("Enter c: ") a=math.sqrt(c ** 2 - b ** 2) print "a= ",a [/CODE] **i get the following traceback Traceback (most recent call last): File "C:\Python27\My Programs\pt.py", line 7, …

Member Avatar for TrustyTony
0
206
Member Avatar for compulove

I created an asp.net login page and I have options that if the user clicks one it can go to different pages. All the other pages are written in aspx.vb but I had to write the last in .cs. I wanted to know if I could link this page to …

Member Avatar for thines01
0
158
Member Avatar for solarmotion

The program already can compile and run. But, when we enter the film's code, an error will occurred. We had no idea how to solve it :\ [CODE] public class Entity { private String itemCode; private String title; private String description; private int language; private int time; private String productCompany; …

Member Avatar for Prateek nandan
0
419
Member Avatar for turt2live

What this script does is take in an image and export a thumbnailed version. Function Arguments: $file : Desired image to create a thumbnail of $destination : End location for the thumbnail $zoom : Setting type, explained later (default: false) $t_width : Thumbnail width (default: 150) $t_height : Thumbnail height …

Member Avatar for turt2live
0
541
Member Avatar for loserspearl

I have my program all working but whenever a user clicks cancel or exit I want the program to close, not throw my catch. Whenever a user throws a catch they have to input their answer twice before it will go back to normal operations. [CODE] import java.util.*; import javax.swing.*; …

Member Avatar for adarshcu
0
216
Member Avatar for karmstrong

Please see that attached code. My output is as follows Please enter name : dog 0x7fff71771e60 Please Enter Type: Valid Choses Are (Game, Word, Compiler, Spreadsheet, DBase, Presentation : Game 0x7fff71771e60 Please Enter Cost: $ 20 Its like either the pointer or the getline is not clearing out memory properly. …

Member Avatar for karmstrong
0
174
Member Avatar for karmstrong

I need to write a function that will use the delete command on a pointer. I'm in left field. See what I have so far any suggestions. I don't think I'm quite getting what I need to pass to the function and pass back. #include <iostream> #include "cdrom.h" using namespace …

Member Avatar for karmstrong
0
129
Member Avatar for jvicta

Can anybody tell me how to fix this...i've tried many ways but it still ends up the same...??? [CODE]//Ch7AppE03JV.cpp //displays an employee's name when the employee's ID is entered //Created/revised by Justin Victa on October 14, 2011 #include <iostream> #include <string> using std::cout; using std::cin; using std::endl; using std::string; int …

Member Avatar for NathanOliver
0
314
Member Avatar for moparman426

alright iam working on a microwave app its very important anyways ill give up what code ive got soo far and such but when i try to run it i get this error message : Visual Studio cannot start debugging because the debug target Microwave.exe is missing Please build the …

Member Avatar for Reverend Jim
0
158
Member Avatar for someidiot

[CODE]#include<iostream> #include<fstream> #include<string> using namespace std; #define months 12 #define temps 2 void getData(int [months][temps],int,ifstream); void testcout(int [months][temps],int); int main() {int y=0; string skipwrd; int mainArray [months][temps]; ifstream in_data; ofstream out_data; in_data.open ("C:\\Users\\Worker\\Desktop\\Ch09_Ex09Data.txt"); getline(in_data, skipwrd); getline(in_data, skipwrd); in_data>>skipwrd; getData(mainArray,y,in_data); y++; getData(mainArray,y,in_data); } void getData(int locArray[months][temps],int x, ifstream locin_data) {int z=0; …

Member Avatar for mebob
0
174
Member Avatar for felix001

I have a number of lists such as ['BLAH', 19, '11111', 'Fa0/19', '100000000'] I either need to make a list of lists or a dictionary containing lists. What would be the recommended one to do and will make the process of further sorting and text manipulation the easiest. Thanks,

Member Avatar for woooee
0
169
Member Avatar for 9tontruck

Hi, I have a method that returns a list of images. I will say, (get_images str) and (list-ref item num) simply displays num'th element in the list. From the list, I need to print all of the images recursively. And I noticed DrScheme is not smart enough to perform more …

Member Avatar for Taywin
0
348

The End.