Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 154 results for
arra
- Page 1
Help with overloading operators
Programming
Software Development
13 Years Ago
by losh177
…endl; IntArray a(10); //set each element of
arra
a to their index*10 for(int i =… b(-3, 6); //set each element of
arra
a to their index*10 for(int i =…; endl; IntArray z; //set each element of
arra
a to their index*10 for(int i = … g(5, 8); //set each element of
arra
a to their index*10 for(int i =…
Lnk2019 & lnk1120
Programming
Software Development
13 Years Ago
by losh177
…endl; IntArray a(10); //set each element of
arra
a to their index*10 for(int i = …IntArray b(-3, 6); //set each element of
arra
a to their index*10 for(int i = …lt; endl; IntArray z; //set each element of
arra
a to their index*10 for(int i = …IntArray g(5, 8); //set each element of
arra
a to their index*10 for(int i =…
Open In New Window Php
Programming
Web Development
19 Years Ago
by gremlinuk
… or numbers. Return values as strcmp(). **/ function myCompare($
arrA
, $arrB, $caseSensitive=false) { $a = $
arrA
[$_GET["sort"]]; $b = $arrB[$_GET["…;isBack"]) return 1; // sort directories above everything else if ($
arrA
["isDirectory"]!=$arrB["isDirectory"]) { $result = $arrB["…
Binary Search
Programming
Software Development
17 Years Ago
by saqib
…for(loca=0;loca<siz;loca++) { cin>>
arra
[loca]; } cout<<"Please enter the required number…; else beg=mid+1; mid=(beg+end)/2; } if (
arra
[mid]!=num) cout<<"\nnot found"; else… if (
arra
[mid]==num) cout<<"location is\t"…
Nested Link List Question
Programming
Software Development
13 Years Ago
by javedkhan0258
… *newCourse, *prevCourse, *currCourse; int i, j; char
arra
[500][500]; char line[500]; /* or other suitable maximum line… i++) for(j=0; j<500; j++)
arra
[i][j] = '\0'; for(i=0; i&… prevProgram=NULL; currProgram=pms->headProgram; progId = strtok(
arra
, "|"); if(progId == NULL) { printf(&…
Re: Binary Search
Programming
Software Development
17 Years Ago
by thekashyap
… it's a flushing problem try this: [code=c++] if (
arra
[mid]!=num) //NOTE THE EXTRA flush AT END. //FYI endl…;<"\nnot found" << flush ; else if (
arra
[mid]==num) cout<<"location is\t"…
problem reading file to string
Programming
Software Development
13 Years Ago
by xenanovich
… *temp2=fopen("temp2.txt","w+"); char
arra
[1024][1024]; char newarra[256][256]; for(i=0; i…<1024; i++) for(j=0; j<1024; j++)
arra
[i][j] = '\0'; for(i=0; i<256; i… ( fgets ( line, sizeof line, file ) != NULL ){ strcpy(
arra
[i], line); strncpy(newarra[i],
arra
[i]+16, 30); rewind(temp); fprintf(temp,&…
Re: Passing Array to Function
Programming
Web Development
12 Years Ago
by DavidB
…at 0). In the main program, just feed [B]
arrA
[/B] into the sub-routine "display": [CODE…] display(
arrA
); document.writeln(
arrA
[1]); [/CODE] Remember that arrays are considered a…sub-routines. In other words, the changed [B]
arrA
[/B] array will be returned to the main program…
a little C++ pointers question
Programming
Software Development
14 Years Ago
by thumizee
could anyone tell me if the last lines of the following are true or false? 1) int
arrA
[3] = {1,2,3}; int *ptrToarrA =
arrA
; int *anotherptrToarrA =
arrA
[0]; 2) int arrB[2] = {1,2}; int *ptrToarrB = arrB; int *anotherptrToarrB = *ptrToarrB;
Re: a little C++ pointers question
Programming
Software Development
14 Years Ago
by mvmalderen
…;879491]1) [COLOR="Red"][B]int
arrA
[];[/B][/COLOR] int *ptrToarrA =
arrA
; 2) [COLOR="Red"][B]int arrB… following error: [CODE]t.cpp:7: error: storage size of `
arrA
' isn't known[/CODE] To the OP (regarding post #1…
States Graded for Stimulus Transparency Websites
Community Center
14 Years Ago
by slfisher
… 100, the average of all the state scores for
ARRA
sites is only 28.2, and the median is…. "Only six states score 50 or better for their
ARRA
website: Maryland (80), Colorado (68), Washington (63), West …(portion completed and expected duration). [*]Whether they include all
ARRA
project information (as opposed to having it spread out among…
circular double linked list.
Programming
Software Development
14 Years Ago
by complexcodes
…CODE]#include "DoublyLinkedList.h" int main() { int
arrA
[] = {30,90,95}; int arrB[] = {10,…20,40,95, 100}; int arrASize = sizeof(
arrA
)/sizeof(int); int arrBSize = sizeof(arrB)/sizeof(int); …DoublyLinkedList<int> listA(
arrA
, arrASize); DoublyLinkedList<int> listB(arrB, arrBSize…
arrays in c++
Programming
Software Development
13 Years Ago
by jasleen12345
…,r1,c1; char p; public: void pro(); void enter(); int
arrA
(int); int arrB(int); int arrAA(int r,int c…;c1; } else cout<<"\nWrong"; } } int array::
arrA
(int n) { cout<<"Input the elements\n…
Re: arrays in c++
Programming
Software Development
13 Years Ago
by sfuo
…r1, c1; char p; public: void pro(); void enter(); void
arrA
( int ); void arrB( int ); void arrAA( int, int …} else cout<<"\nWrong"; } } void array::
arrA
( int n ) { cout << "Input the … t? if( t == 0 ) //t is not assigned a value
arrA
( n ); else arrB( n ); } else if( d == 2 )…
Re: a little C++ pointers question
Programming
Software Development
14 Years Ago
by mirfan00
1) int
arrA
[]; int *ptrToarrA =
arrA
; 2) int arrB[]; int *ptrToarrB = arrB; Now it is correct. When you enter a value in the array it store in *ptrToarrB and if you want to enter more values in the array you run a for or while loop for this purpose. Any problem tell me.
spyware has taken control of my pc
Hardware and Software
Information Security
18 Years Ago
by SYRACUSEVIC
… (supports multiple onload functions) O4 - HKLM\..\Run: [var gSafeOnload = new
Arra
] c:\WINDOWS\System32\var gSafeOnload = new Array(); O4 - HKLM\..\Run… (supports multiple onload functions) O4 - HKCU\..\Run: [var gSafeOnload = new
Arra
] c:\WINDOWS\System32\var gSafeOnload = new Array(); O4 - HKCU\..\Run…
Replacing strings
Programming
Web Development
16 Years Ago
by Pro2000
… string with a string: [CODE] <?php $Msg=$_POST['Msg']; $
arrA
=array(' ' ,'-red' ,'-blue' ,'-green' ); $arrB=array('</font>','<… color=blue>','<font color=green>'); $Msg_B=str_replace($
arrA
,$arrB,$Msg); echo $Msg_B; ?> [/CODE] It works well, but…
Re: Replacing strings
Programming
Web Development
16 Years Ago
by somedude3488
… case. [code] <?php $Msg=$_POST['Msg']; $Msglower = strtolower($Msg); $
arrA
=array(' ' ,'-red' ,'-blue' ,'-green' ); $arrB=array('</font>','<… color=blue>','<font color=green>'); $Msg_B=str_replace($
arrA
,$arrB,$Msglower); echo $Msg_B; ?> [/code] or you could try…
Radio button message
Programming
Web Development
14 Years Ago
by pt0909
… <asp:ListItem Value ="A">
ARRA
Grants</asp:ListItem> <asp:ListItem …(RBl1.SelectedValue = "A") { mesg.text = "
ARRA
FUNDS NOT AVAILABLE" ; } else lblmsg.Text=""; MakeSQL…
can someone tell me why my copy constructor won't work?
Programming
Software Development
14 Years Ago
by lotrsimp12345
…(size_t arrayindex) { return numbers[arrayindex]; } int my_int_vector::operator [](size_t
arra
) { return numbers[
arra
]; } void my_int_vector::push_back(size_t user_number) { int* temp; //empty vector…
getting some weird errors don't understand. dynamic array + Iterator.
Programming
Software Development
14 Years Ago
by lotrsimp12345
… T> T my_vector<T>::operator [](size_t
arra
) { return numbers[
arra
]; } template<class T> void my_vector<T…
Re: getting some weird errors don't understand. dynamic array + Iterator.
Programming
Software Development
14 Years Ago
by lotrsimp12345
… T> T my_vector<T>::operator [](size_t
arra
) { return numbers[
arra
]; } template<class T> void my_vector<T…
getting error 2019. Have done #include's correct. Why? Please help. Thanks.
Programming
Software Development
14 Years Ago
by lotrsimp12345
… DT> DT my_vector<DT>::operator [](size_t
arra
) { return numbers[
arra
]; } template<class DT> void my_vector<DT…
arrayas part2
Programming
Software Development
13 Years Ago
by exekiel101
…<< "numbers here""\n "; int *
arra
= new int[ col ]; for( int j = 0;j < col…; j++ ){ cin >>
arra
[ j ]; } return 0; } [/CODE] i want to have a multiplication…
Resizing Images to Fit
Programming
Web Development
12 Years Ago
by Paaat
… 400 high?? This is my code: [CODE] $Txt = $_POST['Text']; $
arrA
= array('[img]','[/img]'); $arrB = array('<img src="','"…;>'); $Txt = stri_replace($
arrA
,$arrB,$Txt); echo $Txt; [/CODE] So I want to set…
what is the problem at my code
Programming
Web Development
8 Years Ago
by ita_info
…;); $arr['res']=$this->students_mod->getdata("khalil"); $
arra
=array("datame"=>$arr['res'][0]['PIC']); $this…->load->view("upload",$
arra
); } } public function show_upload_page(){ $this->load->view("upload…
Re: Passing Array to Function
Programming
Web Development
12 Years Ago
by Taywin
… changing your original data structure is as follows: [CODE] var
arrA
=new Array("fox.com","nbc.com"…(arrNum) && !isNaN(arrIdx) { // ensure integer if (arrNum==1) {
arrA
[arrIdx] = "changed" } else if (arrNum==2) { arrB[arrIdx…
bitwise operations and masking
Programming
Software Development
19 Years Ago
by mr_mooz
…] || chrom[7]; } //end y } // end x [/CODE] mask[] is an
arra
of floats that stores the values I want to mask…
partition algorithm question
Programming
Software Development
18 Years Ago
by jack223
…, so by doing nothing the leftmost item in the original
arra
is the pivot be default). What will be the state…
HJT printout
Hardware and Software
Information Security
17 Years Ago
by Tazman
…:\WINDOWS\System32\IEMajor = 0; O4 - HKLM\..\Run: [var gSafeOnload = new
Arra
] c:\WINDOWS\System32\var gSafeOnload = new Array(); O4 - HKLM\..\Run…
1
2
3
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC