Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
t-string
- Page 1
Re: Unit Test odd behavior
Programming
Software Development
1 Week Ago
by Ellsaheranny
Yes, issues like the one you're describing can occur in unit testing for several reasons, and they are often subtle and tricky to diagnose. Here are some common causes and things to check
Re: Need help with Lem-in Project
Programming
1 Month Ago
by rproffitt
This is some academic assignment so the lesson isn'
t
about fixing this found or GPT generated code, it's …
Re: Improve HAVING BY performance
Programming
Databases
2 Months Ago
by toneewa
…stmt->getResultSet(); while (result1->next()) {
string
name = result1->getString("ProductName"); double…stmt->getResultSet(); while (result2->next()) {
string
name = result2->getString("ProductName"); double…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by toneewa
… placement of the incremental balls being added, so it wouldn'
t
add a lot at each collision. Hope that helps. Ball… javax.swing.JFrame; public class Frame { public static void main(
String
[] args) { JFrame frame = new JFrame("Bouncing Balls"); Ball…
Re: Chrome generates AI content
Community Center
1 Month Ago
by rproffitt
… seeing this on Bing and Edge as well. It shouldn'
t
be long till Apple turns it on in Safari. Let…. Use “before:2023" at the beginning of your search
string
. You get a completely different set of results which won…
Re: i don´t understand this syntax error when using OpenCV
Programming
Databases
2 Months Ago
by Audun
…\Pictures\417507225_372771342183154_3253415116081493518_n.jpg") SyntaxError: (unicode error) 'unicodeescape' codec can'
t
decode bytes in position 2-3: truncated \UXXXXXXXX escape >…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by jprog1000
Thank you so much for your reply and additions! It is certainly working as I wanted. I will read through the code you have added and ask you any questions I might have. I hope you don'
t
mind. Regards
Re: how to create a simple elevator simulation?
Programming
Software Development
1 Month Ago
by trueframe
To make a basic elevator simulation, first, identify the floors and the elevator's capacity. Then, use loops and conditionals in programming to mimic its movement. Include buttons for users to call the elevator and select floors. Test thoroughly for accuracy.
[split] unexspected T-string error
Programming
Web Development
12 Years Ago
by aureliusnoble
i'm also having a unexspected
T
-
string
error, my web hosting service uses php 5 and i don'
t
know what is wrong with my code. attached are all the pages that have this error
String repetition
Programming
Software Development
9 Years Ago
by Slavi
… q r s
t
u v w x y z" When input - 2 - expected result is a
string
= "a b… result What I have so far is : public static
String
Puzzle(int
t
) {
String
s;
String
alp = "a b c d e f… v w x y z"; s = new
String
(new char[
t
]).replace("\0",alp); return s; } Well, it works…
Re: [split] unexspected T-string error
Programming
Web Development
12 Years Ago
by ko ko
Post your code here where the problem start. Perhaps, seem likes the version conflict by concluding your post. Anyway, we won'
t
help you without seeing any codes.
Re: String to ArrayList<string>
Programming
Software Development
13 Years Ago
by ubi_ct83
….nextToken()); k++; } } else if (args[i].equals ("-
t
")) {
String
t_str=new
String
(); if (i+1<args.length) { i++; t_str=args…
Hello guys as i see this is a little error and i don't know how i can't fix it so the
Programming
Software Development
13 Years Ago
by XMasterrrr
…; //------------------------------------------------------------------------------ using namespace std; template<class
T
>
string
to_string(const
T
&
t
) { ostringstream os; os <<
t
; return os.str(); } struct Range_error…
Little error but i can't even think of it
Programming
Software Development
13 Years Ago
by XMasterrrr
…; //------------------------------------------------------------------------------ using namespace std; template<class
T
>
string
to_string(const
T
&
t
) { ostringstream os; os <<
t
; return os.str(); } struct Range_error…
Out of bounds and I don't know why
Programming
Software Development
14 Years Ago
by why1991
…, verbs, dO, pP, rS); } public static void create(
String
t
[],
String
nouns[],
String
verbs[],
String
dO[],
String
pP[]) { int i=0; while(i<=0) { int…
this is the error i get: cannot find symbol method parseString(java.lang.String)
Programming
Software Development
13 Years Ago
by elcliff
…double tax=gross_salary*0.05; return tax; } double GetBonus(double
T
,
String
status){ if(status=="senior staff"){ double bonus…time=Double.parseDouble(
T
);
String
status=JOptionPane.showInputDialog("Enter status");//where st represent status.
String
st=
String
.parseString(status);
String
g_salary=JOptionPane.…
Append String from Linked List to Object Ostream
Programming
Software Development
11 Years Ago
by Nethran
…, const CD &obj) {
string
outCD = ""; outCD.append("\
t
"); outCD.append(obj.artist); outCD…me trouble: //Return Single Stored
String
**************** //******************************************* template <class
T
>
string
TList<
T
>::returnString(int thisNode) const …
datatypr convert string to point
Programming
Software Development
14 Years Ago
by kdcorp87
…;(pointText); RightToLeft rtl = Parse<RightToLeft>(rightToLeftText); } static
T
Parse<
T
>(
string
text) { // might need ConvertFromString // (rather than Invariant) return…
Re: datatypr convert string to point
Programming
Software Development
14 Years Ago
by Teme64
…If you look at function's signature [ICODE]static
T
Parse<
T
>(
string
text)[/ICODE] you'll see that it's… function named Parse which takes one
string
argument [B]and[/B] one type argument (
T
) and function's return type is…generic function which converts a
string
(representing something of type
T
) to a [B]value[/B] of type
T
. For example [CODE=C…
Re: Append String from Linked List to Object Ostream
Programming
Software Development
11 Years Ago
by Nethran
…template <class
T
>
string
TList<
T
>::returnString(int thisNode) const { ListNode<
T
> *nodePtr;
string
nodeString = "&…node." << endl; } } //Add the
string
nodePtr points to to the end of the nodeString…than 0, it only tries to append the
string
if there is a value in the node,…
Creating New text file having \t replaced with \n
Programming
Software Development
14 Years Ago
by emarshah
… while ((line = sr.ReadLine()) != null) { foreach (
string
s in line.Split(new char []{'\
t
'})) {
string
ss = s; ss += "\n"; arr.Add…
String Compare and File Handling
Programming
Software Development
11 Years Ago
by Koji01
String
Compare and File Handling mixing together... I…h> #include<stdlib.h> #include<
string
.h> main() { int opt,opt1,a; int …sn,&fn,&ln); printf("\n%s\
t
\
t
\
t
%s\
t
\
t
\
t
%s",sn,fn,ln); } fclose(f03);…
std::ofstream fs(string Vriable)
Programming
Software Development
11 Years Ago
by daino
…'m getting an error. I'm using a
string
variable instead of a
string
. example below. std::ofstream Myfile("C:\\testfile….html"); // This works fine //but the below doesn'
t
string
mystring = "C:\\testfile.html"; std::ofstream Myfile(mystring…
ArrayList class contains method isn't working right
Programming
Software Development
13 Years Ago
by red999
…a function called contain [CODE] public boolean contain(int
t
,
String
n) { for(int i = st.size() …gt;= 0; i--) { if(st.get(i).contain(
t
, n)) return true; } //find a variable starting…CODE] public boolean contain(int
t
,
String
n) { return symTable.contains(new Variable(
t
, n)); } //contain()[/…
Search,insert,swap,delete word from string
Programming
Software Development
11 Years Ago
by KhubaibQaiser
…\
t
\
t
String
Operations "<<endl; cout<<"\
t
Find\
t
\
t
:\
t
\
t
[F]"<<endl; cout<<"\
t
Replace\
t
:\
t
\
t
…\
t
\
t
:\
t
\
t
[D]"<<endl; cout<<"\
t
Insert\
t
\
t
:\
t
\
t
[I]"<<endl; cout<<"\
t
DeleteSpecial\
t
:\
t
\
t
…
Generic Method <T>()
Programming
Software Development
8 Years Ago
by genux008
… generic method like below:- public static dynamic ExecuteSelectProcedure<
T
>(
string
procedureName) where
T
: class { SqlDataReader reader = ExecuteSelectCommand(procedureName, CommandType.StoredProcedure); if…
Re: string question
Programming
Software Development
15 Years Ago
by Narue
>
string
a; This is an empty
string
. >a[i]= tmp; a[i] doesn'
t
exist. a is still an empty
string
. The subscript operator does not change the size of a collection.
Re: string problem
Programming
Software Development
11 Years Ago
by rubberman
…internal buffer, incrementing the length. Don'
t
worry about it, and don'
t
try to do the
string
class' work for it... :-) …As mentioned, if you want a properly NUL-terminated C-style
string
… from a C++
string
object, then use the c_str() method to get…
Re: String Class Of Java
Programming
Software Development
19 Years Ago
by nanosani
String
s; s.charAt(5); s.indexOf('K');
String
t
= s.toUpperCase(); s.replace(h,b);
Re: String and char comparisin not working.
Programming
Software Development
13 Years Ago
by bibiki
String
s = "k" and char c = 'k' are different. you either need to tursn
String
s into a char or char c into a
String
before comparing. use proper methods for comparing though. hope that helps!
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
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