Hi all, can ne one tell me how to create a 2-dimensional array of strings thnx
namy1
Posts
-
2-dimensional array of strings -
array of structureno i dont want to pass the array to a function i have created array of a structure and initialised it in function A and A returns this array the struct is declared global now in function B i want to call funtion A and take its return value which would be the array in an array variable :((
-
A timed loopHi!!, u can put a counter inside the loop that increments to a particular no every time e.g. int count=0 for(i=1;i<=50000000;i++) count = count+i
-
array of structureHello everyone, I am creating an array of structure as struct Table { RFC_CHAR fieldname[35], fieldvalue[255]; }; Table t2[2]; Now i m initialising this array in a funtion and i want the funtion to return this structure as well as in another function i want to recieve this array and finally i want a pointer to point to this function please tell me how can i do this :rose:
-
Populating a ComboBoxYes its quite long to accomodate atleast two items bcoz right now i m trying to display 2 items only is there ne way to send attachments i would send u the screen shots thanx namy1
-
cstring to char * conversionhello "kakan":confused: I used the method u specified but its giving the following error C:\Program Files\Microsoft Visual Studio\MyProjects\interface\interfacedialog1.cpp(245) : error C2440: 'initializing' : cannot convert from 'const char *' to 'char *' Thanx:)
-
cstring to char * conversionHello everyone on forum, Is it possible to convert a cstring to a char pointer if yes then how basically i have a cstring and i want to use one function which takes char * parameters now i want to pass the value that is in cstring to this function how can i do that Thanx.
-
Display a msgBox using VC++Thanx All for the replies my problem is solved I m generating the msgbox in my Acad window its great to be the member of this community:-D
-
Populating a ComboBoxIn my initdialog function I m using these function controls r initialized here for veryfying I just need to run my programm where I see the form I have created all other controls work fine but my conbobox shows no contents on clicking right corner it just expands to the designed size but doesnot show anythig Thanx for such quick and guiding responses namy1
-
Display a msgBox using VC++hello Christian, I m using ObjectARX and I have searched in its API's I could not locate anything I posted my query at Autdesk's ObjectARX discussion forum ut they replied that I m weak with my c/c++ basics I should look into c/c++ functionalities for it I m literally confused since i m not a very professional programmer i m just a third year student of graduation:( plsss help me:confused: thanx & regards waiting for the reply
-
Populating a ComboBoxI have used this as well as the other one bellow not at same time definitely char *names[3]; names[0] = "Joe"; names[1] = "Billy"; names[2] = "Bob"; for(int i=0;i<=2;i++) m_ctrldestcombobox.AddString((LPCTSTR)names[i]); ***************************************************************** m_ctrldestcombobox.InsertString(1, "SAP R/3"); m_ctrldestcombobox.InsertString(2, "PLM SERVER"); thanx pls reply even if i m acting foolishly
-
Populating a ComboBoxHello prasad, Yes if u can please give the code I m same namy i have just changed my name to namy1 thanx