Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~3K People Reached

17 Posted Topics

Member Avatar for Usura

Hey Ive been searching all over for an example but cant seem to find anything to close to what im after, Im really new to javascript so dont know how to start coding it myself. Ive got a form with 3 text fields, one for first name, last name and …

Member Avatar for Usura
0
147
Member Avatar for Usura

hey, i need both the import.sql.date; and import.util.date, at the moment im importing them like import.sql.*; import.util.*; How do i specify which library i want for any particular Date object?

Member Avatar for ~s.o.s~
0
126
Member Avatar for Usura

how would i remove all the white space from an istream and replace them with "-" before producing an ostream?

Member Avatar for Ancient Dragon
0
795
Member Avatar for Usura

Hey what would be the correct syntax for a vector of char* with a size of [2]? ive got it written like this.. vector< char* > myVector(); vector< char* > ::iterator myIterator; // reads in something myVector.push_back(temp); myIterator = myVector.begin(); cout << myIterator << endl; why does it cout nothing?

Member Avatar for William Hemsworth
0
105
Member Avatar for Usura

could someone please point me to a link on how to convert my char* temp = new char[3]; to a char test[3]?

Member Avatar for Ancient Dragon
0
71
Member Avatar for Usura

Could anyone please show me howi can assign a char* pointer[2] to a char temp[2]? been looking around can i cant find any examples of this

Member Avatar for tux4life
0
82
Member Avatar for Usura

hey Ive been given a task which im suppose to create a chained container which recieves only 1 string, and continues chaining untill there is a repeat in the input, I was thinking that maps would be more appropriate but im not sure if I would be able to chain …

Member Avatar for StuXYZ
0
118
Member Avatar for Usura

Hey could someone please point me to a website which shows you how to remove duplicates of a list container of a class that have the same name, but change the int to be an average of both values in the class? [CODE] class product{ string name; float rating; } …

Member Avatar for siddhant3s
0
198
Member Avatar for Usura

hey i have a int **grid; pointer which should read from a txt file a grid which is made up for 0's and 1's, how would i make my grid pointer only read in 1 int for each index of grid[0][i]? txt file contains height and weight of the grid …

Member Avatar for Ancient Dragon
0
88
Member Avatar for Usura

anyone know why this wont work? [CODE] fstream f; f.open("a.dat", ios::in | ios::out | ios::binary); [/CODE] it doesnt create a.dat... also how would i switch f from read state to write state?

Member Avatar for amrith92
0
120
Member Avatar for Usura

hey is it possible to create a pointer that points a struct value, like [CODE] struct person{ int name; int age; }; person me; person *ptr = me.name; [/CODE] any suggestions on how to do this?

Member Avatar for Usura
0
77
Member Avatar for Usura

hey ive got 2 different classes and each class has its own struct with the same type of data... would i be able to create a function that returns the whole sturct from one class to the other? ive got something basically like this class A{ private: struct student{ int …

Member Avatar for Member #489967
0
106
Member Avatar for Usura

it is possible to change the colour of the font in the terminal by using come sort of code, not sure of the correct term, what im after is like cout << "hello" << endl; and hello would be bold or a different colour, can that be done?

Member Avatar for dubeyprateek
0
111
Member Avatar for Usura

Hey, im trying to delete an element of an array of pointers of a class, how can i delete just a single element? my code is basically this... n =8; ClassName *newName; newName = new ClassName[n]; how would i delete for example, element 3, while being in that element... if …

Member Avatar for tux4life
0
85
Member Avatar for Usura

Hey i have a weird problem when im trying to print out elements in my temp pointer array, at the bottom where im just using cout to print random indexs of temp, it will only work if i comment out temp[1]... anyone have any idea why? if its not commented …

Member Avatar for Clockowl
0
118
Member Avatar for Usura

Hey im completely new to bash scripting and have no idea how to search the directory name then print out the path where it was found, the filename is entered thru the command line like "./search.sh pictures" and then would make the script print all directory path names which contain …

Member Avatar for Comatose
0
121
Member Avatar for phouse512

It doesnt close when i run it, i get.. $ CC test.cpp -o main $ ./main Enter your guess: 23 ...Sorry, you're wrong. The number was 16838 $ I think it might be your compiler which it closing the file, otherwise it works fine

Member Avatar for phouse512
0
111

The End.