Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
85% Quality Score
Upvotes Received
6
Posts with Upvotes
5
Upvoting Members
6
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
4 Commented Posts
0 Endorsements
Ranked #864
~79.0K People Reached
Member Avatar for winbatch

Is there a standard algorithm that can take the output of difftime (which is in seconds) and use it to print out the number of minutes, hours, days, weeks, etc.? I was going to try and calculate this myself by using the modulo, etc. but thought that something might pre-exist..

Member Avatar for Reverend Jim
1
8K
Member Avatar for allomeen

Hi, I having this error and i don't know how to fix it, can anybody help please: "declaration of `c' as multidimensional array must have bounds for all dimensions except the first", i'm getting this error because of : [code]void lcs::LCS_Length(int X[], int Y[], [COLOR=Red]int c[][], char b[][], [/COLOR] int …

Member Avatar for deceptikon
1
829
Member Avatar for Phaelax

Can't seem to figure this out. [CODE] string *array; void addNodes(string names[]) { array = names; //how many elements in the array??? } [/CODE]

Member Avatar for Diego.Corso
0
27K
Member Avatar for mkcee

I am having difficulty reading the following input file Jon 40 Chris 50 Pete 60 what is wrong with this code that I wrote to read the above file. thank you for your help. [code]//***************** #include <iostream> #include <string> #include <stdlib.h> #include <fstream> #include <iomanip> #include<cassert> using namespace std; void …

Member Avatar for nutristars
0
223
Member Avatar for preethis
Member Avatar for absolutely
1
526
Member Avatar for trevs234

im having trouble creating a random number generator (like say a dice rolling game) if anyone could possibly show me some code for a random number generator that would be greatly appriciated :mrgreen:

Member Avatar for WaltP
0
228
Member Avatar for beatleborg

HII I have been using c++ 4.5 for over an year but now it shows 16 bit error. i tried to delete it and so the tcwin45 folder but now whenever i start my computer it shows an error that "it could not search for C:\TCWIN45\PIPELINE\remind.exe search again". Pls. help …

Member Avatar for Nick Evan
0
332
Member Avatar for AnnaLou

Hi All I have been directed to your site via pcw.co.uk. and wondered if you can offer me any advice. A member of my household is tracking what I am doing on my pc. (I know this because he tells me and thinks it is clever) I know that he …

Member Avatar for Regimbalm
0
94
Member Avatar for Dani

Attached is a small C++ program I wrote for an Algorithms and Data Structures class (CSC120 at Hofstra University). It takes grocery items from a text file and puts them into a hash table. The user can add, delete, and edit items in the hash table. Upon exiting the program, …

Member Avatar for aves
0
483
Member Avatar for kevin machell

[FONT=Arial]please can anyone help, i have a fairly old ex school use PC that needs a password to use. How can I remove the need for a password. The motherboard is an AOPEN 6bc, I know that jumpers are used but which and how ? many thanks - kevin machell[/FONT]

Member Avatar for Case1
0
159
Member Avatar for alone2005

Hi, anyone can tell me what's wrong with my code? the only part has problem is the function overload << operator, any help is welcome. #include <iostream> using namespace std; template <typename T, int SIZE> class array { T data_[SIZE]; array (const array& other); const array& operator = (const array& …

Member Avatar for farag
0
185
Member Avatar for Narue

Post your tips for making life easier in C and C++. I'll start: [SIZE=3][B]Standard vector object initialization[/B][/SIZE] The biggest problem with the standard vector class is that one can't use an array initializer. This forces us to do something like this: [code] #include <iostream> #include <vector> using namespace std; int …

Member Avatar for bector
2
7K
Member Avatar for JohnHull

:sad: Write a C++ template class Nvector that enables arrays with negative subscripts to be defined. The class should be usable in the following code fragment: [code]Nvector<double> a; // instantiate double array class a.resize(-10, 10); // allocate array from locations -10 to 10 for(int i=-10 ; i<=10 ; ++i) a[i] …

Member Avatar for Salem
0
115
Member Avatar for cmills83

<< URL Snip -- Please post code only, thanks >> The table extends to the bottom in IE but not in FireFox, any ideas? Thanks!

Member Avatar for MidiMagic
-1
345
Member Avatar for Electrohead

I have put a tutorial on how to make a C++ Hello World application on my website! :cheesy: [u][color=#0066cc][url="http://www.keefe-interactive.com/community/viewtopic.php?t=3"]http://www.keefe-interactive.com/community/viewtopic.php?t=3[/url][/color][/u] enjoy! :cheesy:

Member Avatar for Narue
0
179
Member Avatar for cancer10

[b][color=red]Microsoft to buy Red Hat ?[/color][/b] "Various news sources including ZDnet are today reporting that Microsoft is considering buying out Red Hat, speculating that 'Microsoft could see Red Hat's acquisition as a nice way to undermine IBM, but might not consider that a sufficient reason to do it,' adding that …

Member Avatar for blud
0
276
Member Avatar for indianscorpion2

hi my name is srikanth.i have been trying to develop a source code to print the pascal's triangle for the past three days.i have'nt had any success.i would be greatly obliged if anyone could give me a simple source code to print the pascal's triangle in C.

Member Avatar for Nick Evan
0
557
Member Avatar for roryt

I have just started designing a new site and have decided to use a background that stays still. I have done this by using a fixed attachment in my css. I have used a png file and have found a filter fix from [URL="http://homepage.ntlworld.com/bobosola/pnghowto.htm"]http://homepage.ntlworld.com/bobosola/pnghowto.htm[/URL] which is quite straight forward. My …

Member Avatar for Rhyan
0
199
Member Avatar for servertweak
Member Avatar for ljCharlie

I like to know if CSS can be used to highlight the CSS nav menu if the current page is the page that the menu links to. For example, the folowing code is my side bar navigation menu. [code]#lftSideMenu { float: left; width: 165px; margin: 0 0px 0 0; background-color: …

Member Avatar for hgltd
0
122
Member Avatar for cajun

Hi all What is the safest way to put an email on a website without it being added to every spam list known to man. I am copying all the info from our old website to our new one (created with joomla) and want to find the best way. All …

Member Avatar for FC Jamison
0
148
Member Avatar for cancer10

How do they make tables with only CSS without using HTML Tables? is it possible to make a table as shown on the screenshot below with only CSS and NO HTML? if yes how? [url=http://photobag.2plans.com/][img]http://photobag.2plans.com/images/75427379.jpg[/img][/url] Thanx in advance

Member Avatar for babyboy808
0
142
Member Avatar for jamshid

Hi Everyone here ; I am starting C and wanna you start C lessons here , so we (we new starters) can learn good and can discuss about some important points here.. It will so Nice and i hope our friends whom they know better this language start lessons here.

Member Avatar for ~s.o.s~
0
251
Member Avatar for joshilay

if i implement same algorithm iteratively and also with recusrion ...than which of the above methods is better in implementing ..... and what are the advantages of recursion over iterative methods ??

Member Avatar for joshilay
0
149
Member Avatar for Mikeytrooper

OK I need a world f help! I just started this whole website stuff and purchased a domain from godaddy.com. I wanted to know how I should go about designing the webpage. I have the Microsoft frontpage program but I do not know how to tranfer that design to the …

Member Avatar for Dogtree
0
151
Member Avatar for ~s.o.s~

Hell "o" to all programmers out there. I was just fiddling around with pointers to [inlinecode] const [/inlinecode] when i wrote this snippet. [code] [COLOR=#008000]int main (void) { int* ptr = NULL; const int i = 20; ptr = (int*) &i; *ptr = 40; printf ("\nThe addr of the const …

Member Avatar for ~s.o.s~
0
160
Member Avatar for rdubey_jsr

Hi friends, Its my first experience to this forum. can any one help me in reading a csv file into an array and then parse each word seperated by commas. I have csv file which contains rows and columns of record. and i have to read the file into an …

Member Avatar for rdubey_jsr
0
4K
Member Avatar for gampalu

Hi I'm creating an application and in DEBUG mode I have zero errors, but when I switch to RELEASE I have this error: [CODE] --------------------Configuration: ipfix - Win32 Release-------------------- Compiling... Command line error D2016 : '/ZI' and '/O2' command-line options are incompatible Error executing cl.exe. [/CODE] Can you help me …

Member Avatar for hollystyles
0
197
Member Avatar for gpta_varun

Q1. Who wrote the book 'Bread, Beauty & Revolution' ? (a) Karl Marx (b) Peter Halbraith (c) Khwaja Ahmed Abbas (d) Jack Welch Q4. Which south American snake's name means 'Elephant' in Tamil ? (a) Sidewinder (b) Viper (c) Anaconda (d) King Cobra Q5. Which famous footwear's name is taken …

Member Avatar for goldeagle2005
1
288
Member Avatar for epsos

hey all how is everyone!1 okay a quick question could someone give me a list or programming languages well all of em from easy to heard as i want to try and learn them all lol tell im a newbie lol could you also tell me which ones are better …

Member Avatar for nufanvandal
0
154