199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Frederick2

I'm doing command line compiling, and thought there might be some switch that would list starting and finishing time, but couldn't find anything. I'm using Windows, and trying to work with the default gcc/g++ from mingw installed with Code::Blocks. Or is there some way of doing this with some shell …

Member Avatar for Frederick2
0
359
Member Avatar for ezat2020

[CODE] // image - input image // result - output image // N - width of the image // M - height of the image void _medianfilter(const element* image, element* result, int N, int M) { // Move window through all elements of the image for (int m = 1; …

Member Avatar for ezat2020
0
188
Member Avatar for zack654

Can anyone suggest me some nice string tutorials because I found few of them but they seem pretty hard to learn (like one on [URL="http://www.cplusplus.com/reference/string/string/"]http://www.cplusplus.com/reference/string/string/[/URL] ) It should be native C++ string library because that is the one I started learning, So I would appreciate any suggestions... thanks

Member Avatar for zack654
0
137
Member Avatar for Xytheron

Hey all! So i've been working on a unix chat server and I think I've done a good job having no idea what I'm doing :-p. The only issue I'm running into is that I can't get it to go 1 to multiple. For instance, the idea is that any …

Member Avatar for Xytheron
0
149
Member Avatar for MatGreenfield

Hi, I am writing a piece of code that takes copies the contents of one file to another (which is created by the code, the name is given by user as an arguement). I've managed to successfully open and read in the source file, and the program will create the …

Member Avatar for MatGreenfield
0
102
Member Avatar for jonow

I am trying to set up a text message newsletter on my website. The basics of it are someone submits their number and I can go in and send out a message to a list of the numbers. I want to know the best method of going about this. I …

Member Avatar for jonow
0
238
Member Avatar for fabricetoussain

ok so i have this program here i had to finish, and it was for input and output files, i wrote everything, and even wrote the data.in and data.out files but when i run it i get nothing in return. do the files have to be in the ".in" format …

Member Avatar for triumphost
0
295
Member Avatar for zepi

i have a problem with refreshing a datagridview. so i have an unbound datagridview that is not enabled. rows are added when a button is clicked. this works the first time, but when i click the button again, the new rows are not all displayed, only the rows that fit …

Member Avatar for zepi
0
184
Member Avatar for 99k

Hello all, I need to extract data from a website, say for eg. Buy.com's Electronics category and save it either in MS excel. I tried looking for the code over the internet, but this wasn't properly explained anywhere. Please help me.

Member Avatar for diafol
0
118
Member Avatar for joeywheels

Hi everyone! New here and to Python. I'm having trouble with my break statement executing and cannot figure out why. I'm learning to write to files and want the loop to break if the user hits enter. It's not working for some reason. I've even tried to get fancy (in …

Member Avatar for joeywheels
0
107
Member Avatar for pupucashu

The program takes a file with names and GPAs and sorts them in order of highest GPA to lowest using vectors. I cant seem to find out whats wrong with the code. Everytime i run it it says 'vector subscript out of range'. Can someone please help me? File: James …

Member Avatar for jonsca
0
427
Member Avatar for hishamaborob
Member Avatar for hishamaborob
0
150
Member Avatar for Tommymac501

Does anyone know how to copy subfolders from one place to another in VB?. I have a Template folder on a network share I want to use to set up the base folder structure on newly created job folders, however, I can't seem to get any copy methods to take …

Member Avatar for Tommymac501
0
657
Member Avatar for JOSheaIV

(I'll make this sweat and short, writting in class) Okay so I am working on a sudoku program, and am using a dataGridView for the gameboard. But I need to know how to create different boarders for the cells so that I can make up the 4 black lines that …

Member Avatar for ddanbe
0
654
Member Avatar for CMAUK

Hi,I've started learning Java to enhance my programming knowledge and i've written code for individual GUIs which are working perfectly. Within each GUI i have common Labels,Buttons all in a JPanel that are the same in all of the GUIs which are linked together. What I want to basically do …

Member Avatar for mKorbel
0
175
Member Avatar for bangla

hi, pls help me the following if feasible. 1. i have a file "tax.php" <TR> <td ALIGN = "left" valign = "top"> <b>ABC</b> <br> --ABC BG<br> <u>Address- </u>123 main st. Suite 307, Flushing, NY 11354<br> <u>Phone </u>111-11-11<br><u>Email</u>- [email]SOMEONE@DOMAIN.COM[/email]</td> <td ALIGN = "left" valign = "top"> <b>ABC</b> <br> --SDFS BG<br> <u>Address- …

Member Avatar for diafol
0
179
Member Avatar for drewpark88

Hey guys, I understand how to setup the cron job to run once a day. Now I am having trouble putting together a function to do the following: I need to delete all content (rows) automatically where the "expire_date" field is equal to or greater than todays date. Keep in …

Member Avatar for drewpark88
0
1K
Member Avatar for mtolan8164

Hello I am a complete novice so apologies in advance. I want to have a gallery on my website that looks something like the attachment. There is an image in the middle cell of the table and the current image number in the top cell as part of the navigation …

Member Avatar for mtolan8164
0
89
Member Avatar for VasquezPL

Hi! I need to use if statement to check if its the summer time (CEST) or Winter time (CET)...But I dunno how to do that..Couldn't find anything useful on the INTERNET.my date format is (d-mm-yyyy) Basically I need to do sth like that [code] if DateTimePicker->Value>(31-10-yyyy) {time="CET";} [/code] THX For …

Member Avatar for VasquezPL
0
379
Member Avatar for patrioticparado

I have no specific question, though I could go on asking random questions for days. I am still rather early in the learning phase as far as c++ goes. I decided to post here for a rather different reason. I was Google searching for a problem related to getch() and …

Member Avatar for Narue
0
119
Member Avatar for Abdel_eid

hello all i need to create a jtable which carry a customer ID and first name and last name and when clicking on that row of a specified customer it turns me to another frame containing the other data of the customer(email , phone number , address)

Member Avatar for mKorbel
0
71
Member Avatar for fuston05

Having trouble storing dollar amounts in the thousands due to the "," that gets inserted once the number becomes 1, 000.00. Any advise?

Member Avatar for fuston05
0
189
Member Avatar for lochnessmonster

[url]http://msdn.microsoft.com/en-us/library/aa505945.aspx[/url] im curious as to why microsoft has typedef'ed simple "data types"? what's the point of this and why should i use them in my programs?

Member Avatar for L7Sqr
0
207
Member Avatar for jdam7459

Is there any way for me to get a .php file to open in a web browser without a server?

Member Avatar for Arcrammer
0
1K
Member Avatar for TechNewbie23

Hey! I am creating an application which will allow users to search parents names and display their childen respectively in a datagrid. I have created a form with two text boxes, a search button and a datagrid. The two text boxes are txtFName.text and txtLName.Text. On clicking btnSearch I want …

Member Avatar for TechNewbie23
0
222
Member Avatar for six_sic6

I have an html div [CODE] <div id="myDiv"> <table border="1" bgcolor="#FFFFFF" width="600"> <tr style="text-align:center"> <td>Subject Code</td> <td>Subject Title</td> <td>Credit Hour</td> </tr> </div> [/CODE] Now, I want to have a button by which i can convert this [B]<div id="myDiv">[/B] to image or .doc.... can any one help me

Member Avatar for six_sic6
0
91
Member Avatar for doctorphp

Hi everyone. I am trying to work on a script that will ban a user from accessing my website for x amount of time. Here is the html and sql code. [B]HTML[/B] [CODE]<?php $date = 'd-m-Y'; $endDate = strtotime($date); ?> <tr> <th>Length of Ban</th> <th>:</th> <th> <select name="period"> <optgroup label="Temporary …

Member Avatar for diafol
0
1K
Member Avatar for super-duper

This is part of my linked list program. I need to change the data(node) with a new one when it is found (using the find function. And in other case I need to delete the found item using deleteNode() function, once the matching item is found. But, it is not …

Member Avatar for super-duper
0
173
Member Avatar for vavazoom

I've made a Matrix class that contains arrays, however I'd like to inherit the array class if possible. I've done some searching online and can't find any solid information on this. Does anyone know if I can even inherit this class? If so, do you have a good site with …

Member Avatar for Narue
0
221
Member Avatar for cppgangster

Hi, I am trying to compile this program: [CODE] //hello.h #include <afxwin.h> class CMyApp: public CWinApp { public: virtual BOOL InitInstance(); }; class CMainWindow: public CFrameWnd { public: CMainWindow(); protected: afx_msg void OnPaint(); DECLARE_MESSAGE_MAP() }; //end of hello.h [/CODE] [CODE] //hello.cpp #include <afxwin.h> #include "hello.h" CMyApp myApp; BOOL CMyApp::InitInstance() { …

Member Avatar for cppgangster
0
122
Member Avatar for leemyers

blem I have a probem with my api signup page, the below code $this->obsConfig.... is not working i think it is outside a call but not sure how to put it in a class anyone know how to wrap this up? [code] $this->obsConfig['apiCall'] { ='AddUser.do'; $command = ""; if (!isset($obsAccount['username'])) …

Member Avatar for phper
0
82
Member Avatar for Sundayy

Hi Guys: I have completed my source code for the following problem using the "if" statement. I have gotten 4 errors which are: Line|26|error: ambiguous overload for 'operator>>' in 'std::cin >> (Total_Number_of_Seconds / 3600)'| Line|29|error: ambiguous overload for 'operator>>' in 'std::cin >> (Total_Number_of_Seconds % 3600)'| Line|32|error: ambiguous overload for 'operator>>' …

Member Avatar for Sundayy
0
788
Member Avatar for fugmag

I am trying to pass an object as parameter to another class wich contains a SQL connection: Base class is a swing class where this method is the essential to know for my question: [CODE] public void actionPerformed(ActionEvent e) { ModelNY mo = new ModelNY(); mo.setPersonID(txtField1.getText()); mo.setFName(txtField2.getText()); mo.setLName(txtField3.getText()); mo.setAdress(txtField4.getText()); mo.setEmail(txtField5.getText()); …

Member Avatar for mKorbel
0
293
Member Avatar for buggyboy

Hello, I'm trying to code a script using GreaseMonkey that alert's you when someone removes a reputation from you. It's for a mybb forum. So it needs to: Search the source for the usernames > Put each into an array > Store the array and check it only when that …

Member Avatar for Taywin
0
312
Member Avatar for ktimov1

I have a DataSet displaying data on a DataGridView. The current method I am using to filter the grid is as follows: [CODE] foreach (DataGridViewRow row in dgvXML.Rows) { foreach (DataGridViewCell cell in row.Cells) { if (cell.FormattedValue.ToString() != String.Empty) { //Highlight cell if the value from the textbox is found. …

Member Avatar for ktimov1
0
100
Member Avatar for patrickgormally

Hi! So I have this program that will read from a file of responses to a survey. The ratings are 1-10 and there are over 250 responses. I have found the average response and also the standard deviation but I also want to find the Median response. To do this …

Member Avatar for jon.kiparsky
0
231
Member Avatar for C++ Beginner

I am trying to write some queries and I am confused on exactly what to do. Here are my tables that reference my 3 questions. Branch ([U]branch_id[/U], branch_name, street_address, city, state, zipcode, phone, branch_manager, library_id) FK – library_id > library Library ([U]library_id[/U], library_name, street_address, city, state, zipcode, phone, manager_name) Patron …

Member Avatar for C++ Beginner
0
91
Member Avatar for programmer12

The Javascript that I have included in my php created site is [CODE]<script type="text/javascript"> $(window).load(function(){ setHeight(); }); if(navigator.userAgent.search(/msie/i)!= -1) { } else { window.onresize = function(){ setHeight(); } } </script>[/CODE] Would this cause my browsers (Firefox - IE - Chrome - Opera) to not work?

Member Avatar for Taywin
0
109
Member Avatar for Steve Mac

Is there any way that i can be able to get the ExecutenonQuery to Execute faster. Am using it to run mysql queries that have joins from diffrent tables. As I have come to notice, the user has to wait a while before the statement ExecutenonQuery can be completely executed.. …

Member Avatar for Marcel_Go
0
205
Member Avatar for toasty525

Hi, I want to populate 2 javascript variables with data from 2 form text boxes, the javascript and form text bosex are on the same page using the following code: Form: [CODE] <form name="addSite" method="post" action=""> <label>URL: <input name="url" type="text" id="url" value="<? echo $site; ?>"> </label> <p>Title: <input type="text" name="title"> …

Member Avatar for Taywin
0
120
Member Avatar for primagic

I need some help with parsing information from a query string to a database. There is a company that wants to send me information to a page on my server as a query string (http post) e.g. [url]www.mydomain.com/info.aspx?Name=Smith&LastName=Taylor[/url] They will send probably about 15 different strings of information a day. …

Member Avatar for Freon22
0
87
Member Avatar for schrope

help i can not figure this out. my home is to encryption a four digit number I have to add 7 and use mod 10-- i think i have that part but now i need to swap the first number with the third and second with the fourth. i can …

Member Avatar for Crutoy
0
183
Member Avatar for CrashanBurn

Hi, I am trying to get my little program to do some calculations. So far i got 15 textboxes, named TxtPP(followed by product type),so i got TxtPPproduct1, TxtPPproduct2 etc.... At the bottom of the form i got a disabled textbox which shows the total of all the above textboxes. Now …

Member Avatar for CrashanBurn
0
405
Member Avatar for zacblazic

Hey guys, So I today I converted my programs from VS 2005 to VS 2010. I came across an issue involving the string null terminator ('\0') in a function of mine. (Note: It worked in VS 2005). [CODE]int StrLength(string str) { int i = 0; while(str[i] != '\0') { i++; …

Member Avatar for Narue
0
141
Member Avatar for d3rck

Hi everyone, Edited: So I figured out how to show the submit buttons. My next question is how to incorporate a security measure like html_entities in the action of the form? [CODE] <?php require ("core/config.php"); $tablevaluegetter = mysql_query("SELECT * FROM ratingsystem WHERE typeofsite='somthingtorate' ORDER BY ratetotal DESC"); echo "<table border='1'> …

Member Avatar for d3rck
0
230
Member Avatar for Transcendent

hey, I can seem to make this one work so I wrote another one. It runs but it doesn't work. I tested this but it keep saying invalid for everything anyway. You can check the flow chart again; i just changed ThisOne to ToBeChecked. valid invalid c cc ccc b …

Member Avatar for mike_2000_17
0
146
Member Avatar for rohit b k

hi guys, i want to express the data which is extracted from database in a table in the following fashion item1 item2 item3 item4 item5 item6 item7........... ............itemn dynamically but i can express either row wise or column wise but not as shown above please help me with the code …

Member Avatar for sudeepjd
0
98
Member Avatar for moose333

Hello I am currently attempting to write the contents of a .hrm file into a datagridview and place each piece of data into its required column. This is the code I have at the moment which is currently just extracting some data from the .hrm file and placing it in …

0
116
Member Avatar for nutrion

I have an application that I'm trying to write in C#. This is my first application using C#, so please bear with me. I tried to create a small app with a textbox and two buttons: start and stop. The start button calls a function that iterates from 1 to …

Member Avatar for Mitja Bonca
0
118
Member Avatar for moose333

Hello I am currently trying to read specific data from a .hrm file and then display it within a form in c#. For example I want to read the date data from this file and then display it on the form. All I have managed to do is read in …

Member Avatar for moose333
0
488

The End.